summaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* GPU: Added the TIC registers to the Maxwell3D register structure.Gravatar Subv2018-03-191-1/+16
|
* Merge pull request #193 from N00byKing/3184_2_robotic_boogalooGravatar bunnei2018-03-187-41/+41
|\ | | | | Implement Pull #3184 from citra: core/arm: Improve timing accuracy before service calls in JIT (Rebased)
| * Implements citra-emu/citra#3184Gravatar N00byKing2018-02-257-41/+41
| |
* | Merge pull request #250 from bunnei/buffer-dequeue-waitGravatar bunnei2018-03-1810-51/+128
|\ \ | | | | | | vi: TransactParcel DequeueBuffer should wait current thread
| * | vi: Remove DequeueBuffer and wait until next available buffer.Gravatar bunnei2018-03-183-12/+49
| | |
| * | hle_ipc: Add SleepClientThread to block current thread within HLE routines.Gravatar bunnei2018-03-182-0/+47
| | |
| * | hle_ipc: Use shared_ptr instead of unique_ptr to allow copies.Gravatar bunnei2018-03-182-9/+9
| | |
| * | hle_ipc: Remove GetPointer(..) usage with WriteToOutgoingCommandBuffer.Gravatar bunnei2018-03-183-7/+14
| | |
| * | thread: Add THREADSTATUS_WAIT_HLE_EVENT, remove THREADSTATUS_WAIT_ARB.Gravatar bunnei2018-03-184-23/+9
| | |
* | | GPU: Implement macro 0xE1A BindTextureInfoBuffer in HLE.Gravatar Subv2018-03-182-1/+29
|/ / | | | | | | This macro simply sets the current CB_ADDRESS to the texture buffer address for the input shader stage.
* | GPU: Implement the BindStorageBuffer macro method in HLE.Gravatar Subv2018-03-182-1/+36
| | | | | | | | | | | | This macro binds the SSBO Info Buffer as the current ConstBuffer. This buffer is usually bound to c0 during shader execution. Games seem to use this macro instead of directly writing the address for some reason.
* | GPU: Handle writes to the CB_DATA method.Gravatar Subv2018-03-182-0/+39
| | | | | | | | | | | | Writing to this method will cause the written value to be stored in the currently-set ConstBuffer plus CB_POS. This method is usually used to upload uniforms or other shader-visible data.
* | GPU: Move the GPU's class constructor and destructors to a cpp file.Gravatar Subv2018-03-183-10/+30
| | | | | | | | This should reduce recompile times when editing the Maxwell3D register structure.
* | GPU: Store uploaded GPU macros and keep track of the number of method ↵Gravatar Subv2018-03-184-27/+74
| | | | | | | | parameters.
* | GPU: Macros are specific to the Maxwell3D engine, so handle them internally.Gravatar Subv2018-03-188-63/+55
| |
* | GPU: Renamed ShaderType to ShaderStage as that is less confusing.Gravatar Subv2018-03-172-19/+19
| |
* | GPU: Store shader constbuffer bindings in the GPU state.Gravatar Subv2018-03-172-5/+61
| |
* | GPU: Corrected some register offsets and removed superfluous macro registers.Gravatar Subv2018-03-171-9/+3
| |
* | GPU: Make the SetShader macro call do the same as the real macro's code.Gravatar Subv2018-03-172-3/+44
| | | | | | | | | | | | It'll now set the CB_SIZE, CB_ADDRESS and CB_BIND registers when it's called. Presumably this SetShader function is binding the constant shader uniforms to buffer 1 (c1[]).
* | GPU: Corrected the parameter documentation for the SetShader macro call.Gravatar Subv2018-03-172-11/+12
| | | | | | | | | | | | Register 0xE24 is actually a macro that sets some shader parameters in the register structure. Macros are uploaded to the GPU at startup and have their own ISA, we'll probably write an interpreter for this in the future.
* | Merge pull request #242 from Subv/set_shaderGravatar bunnei2018-03-172-4/+38
|\ \ | | | | | | GPU: Handle the SetShader method call (0xE24) and store the shader config.
| * | GPU: Handle the SetShader method call (0xE24) and store the shader config.Gravatar Subv2018-03-162-4/+38
| | |
* | | GPU: Added the vertex array registers.Gravatar Subv2018-03-161-2/+33
|/ /
* | Merge pull request #241 from Subv/gpu_method_callGravatar bunnei2018-03-169-8/+97
|\ \ | | | | | | GPU: Process command mode 5 (IncreaseOnce) differently from other commands
| * | GPU: Process command mode 5 (IncreaseOnce) differently from other commands.Gravatar Subv2018-03-169-8/+97
| | | | | | | | | | | | | | | | | | Accumulate all arguments before calling the desired method. Note: Maybe we should do the same for the NonIncreasing mode?
* | | Merge pull request #239 from Subv/shadersGravatar bunnei2018-03-162-2/+63
|\ \ \ | | | | | | | | GPU: Added some shader-related registers.
| * | | GPU: Assert that we get a 0 CODE_ADDRESS register in the 3D engine.Gravatar Subv2018-03-161-0/+8
| | | | | | | | | | | | | | | | Shader address calculation depends on this value to some extent, we do not currently know what it being 0 entails.
| * | | GPU: Added Maxwell registers for Shader Program control.Gravatar Subv2018-03-161-2/+55
| |/ /
* | | nvflinger: Remove superfluous buffer format check.Gravatar bunnei2018-03-161-3/+1
| | |
* | | process: MirrorMemory should use MemoryState::Mapped.Gravatar bunnei2018-03-161-1/+1
| | |
* | | process: Unmap previously allocated heap.Gravatar bunnei2018-03-161-1/+3
| | |
* | | arm_interface: Support unmapping previously mapped memory.Gravatar bunnei2018-03-166-2/+18
| | |
* | | svc: Use more correct values for GetInfo MapRegion and NewMapRegion.Gravatar bunnei2018-03-163-29/+5
| | |
* | | kernel: Move stack region outside of application heap.Gravatar bunnei2018-03-166-11/+6
| | |
* | | memory: Add regions for map region, "new" map region, etc.Gravatar bunnei2018-03-161-19/+29
| | |
* | | process: Fix stack memory state.Gravatar bunnei2018-03-161-2/+4
| | |
* | | MemoryState: Add additional memory states and improve naming.Gravatar bunnei2018-03-165-18/+45
| | |
* | | IGeneralService: fix function listGravatar mailwl2018-03-161-2/+3
| | |
* | | Service/NIFM: stub cancel functionGravatar mailwl2018-03-161-1/+6
| | |
* | | Service/NIFM: convert to moduleGravatar mailwl2018-03-168-122/+75
|/ /
* | core: Move process creation out of global state.Gravatar bunnei2018-03-1422-72/+87
| |
* | Merge pull request #213 from Hexagon12/dynarmic-defaultGravatar bunnei2018-03-071-1/+1
|\ \ | | | | | | Make Dynarmic the default CPU core
| * | pls, that was easyGravatar Hexagon122018-02-141-1/+1
| |/
* | GPU: Intercept writes to the VERTEX_END_GL register.Gravatar Subv2018-03-042-1/+18
| | | | | | | | | | | | This is the register that gets written after a game calls DrawArrays(). We should collect all GPU state and draw using our graphics API here.
* | Merge pull request #229 from Subv/ensuresavedata_implGravatar bunnei2018-03-0412-43/+91
|\ \ | | | | | | FS: Make EnsureSaveData create the save data if it doesn't already exist.
| * | FS: Use the correct error code when trying to open files that don't exist.Gravatar Subv2018-03-042-26/+6
| | |
| * | FS: Stubbed CreateSaveData. It currently does nothing.Gravatar Subv2018-03-042-0/+15
| | |
| * | FS: Make EnsureSaveData create the savedata folder when called for the first ↵Gravatar Subv2018-03-048-17/+70
| | | | | | | | | | | | time.
* | | CoreTiming: Unschedule the pending events when an Interface is destroyed.Gravatar Subv2018-03-043-2/+10
|/ /
* | Merge pull request #226 from Subv/buffer_queue_eventGravatar bunnei2018-03-031-0/+3
|\ \ | | | | | | Vi: Signal the BufferQueue's Native Handle right after ReleaseBuffer is called