Subv
88698c156f
GPU: Store shader constbuffer bindings in the GPU state.
7 years ago
Subv
66dae22790
GPU: Corrected some register offsets and removed superfluous macro registers.
7 years ago
Subv
1d9d9c16e8
GPU: Make the SetShader macro call do the same as the real macro's code.
...
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[]).
7 years ago
Subv
579000e747
GPU: Corrected the parameter documentation for the SetShader macro call.
...
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.
7 years ago
bunnei
516ef4f19f
Merge pull request #242 from Subv/set_shader
...
GPU: Handle the SetShader method call (0xE24) and store the shader config.
7 years ago
bunnei
c286921739
Merge pull request #243 from Subv/vertex_buffer
...
GPU: Added the vertex array registers.
7 years ago
Subv
f93d769a1c
GPU: Handle the SetShader method call (0xE24) and store the shader config.
7 years ago
Subv
d2888f7e90
GPU: Added the vertex array registers.
7 years ago
bunnei
cd4e8a989c
Merge pull request #241 from Subv/gpu_method_call
...
GPU: Process command mode 5 (IncreaseOnce) differently from other commands
7 years ago
Subv
29feece4b8
GPU: Process command mode 5 (IncreaseOnce) differently from other commands.
...
Accumulate all arguments before calling the desired method.
Note: Maybe we should do the same for the NonIncreasing mode?
7 years ago
bunnei
0eff775264
Merge pull request #239 from Subv/shaders
...
GPU: Added some shader-related registers.
7 years ago
bunnei
e453b09a61
Merge pull request #238 from bunnei/fix-buffer-check
...
nvflinger: Remove superfluous buffer format check.
7 years ago
Subv
bf310a41b8
GPU: Assert that we get a 0 CODE_ADDRESS register in the 3D engine.
...
Shader address calculation depends on this value to some extent, we do not currently know what it being 0 entails.
7 years ago
Subv
cbec739e7b
GPU: Added Maxwell registers for Shader Program control.
7 years ago
bunnei
494275fd38
nvflinger: Remove superfluous buffer format check.
7 years ago
bunnei
e7ba2a4447
Merge pull request #232 from bunnei/heap-fixes
...
Various heap fixes for libtransistor
7 years ago
bunnei
cc6f22e0e4
process: MirrorMemory should use MemoryState::Mapped.
7 years ago
bunnei
e9a857ce82
process: Unmap previously allocated heap.
7 years ago
bunnei
403f8e79ea
arm_interface: Support unmapping previously mapped memory.
7 years ago
bunnei
34a29ad051
svc: Use more correct values for GetInfo MapRegion and NewMapRegion.
7 years ago
bunnei
8581404482
kernel: Move stack region outside of application heap.
7 years ago
bunnei
69ee9edd8d
memory: Add regions for map region, "new" map region, etc.
7 years ago
bunnei
3923b0f589
process: Fix stack memory state.
7 years ago
bunnei
8be7131033
MemoryState: Add additional memory states and improve naming.
7 years ago
bunnei
07ae1f972d
Merge pull request #237 from mailwl/nifm-module
...
Service/NIFM: convert to module
7 years ago
mailwl
fbfa7ddd62
IGeneralService: fix function list
7 years ago
mailwl
9289255314
Service/NIFM: stub cancel function
7 years ago
mailwl
ec030a542f
Service/NIFM: convert to module
7 years ago
bunnei
cde9386e0f
Merge pull request #236 from bunnei/refactor-process-creation
...
core: Move process creation out of global state.
7 years ago
bunnei
7d6653268f
core: Move process creation out of global state.
7 years ago
bunnei
8538e0bc3d
Merge pull request #213 from Hexagon12/dynarmic-default
...
Make Dynarmic the default CPU core
7 years ago
bunnei
5750f6f046
Merge pull request #230 from Subv/gpu_draw
...
GPU: Intercept writes to the VERTEX_END_GL register.
7 years ago
Subv
5fb4c718cc
GPU: Intercept writes to the VERTEX_END_GL register.
...
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.
7 years ago
bunnei
80562aaf64
Merge pull request #229 from Subv/ensuresavedata_impl
...
FS: Make EnsureSaveData create the save data if it doesn't already exist.
7 years ago
Subv
84e1c0a430
FS: Use the correct error code when trying to open files that don't exist.
7 years ago
Subv
e4b7a1d160
FS: Stubbed CreateSaveData. It currently does nothing.
7 years ago
Subv
0eefe6e4d1
FS: Make EnsureSaveData create the savedata folder when called for the first time.
7 years ago
bunnei
3c3d5eeddf
Merge pull request #228 from Subv/unschedule_events
...
CoreTiming: Unschedule the pending events when an Interface is destroyed
7 years ago
Subv
248881fa7f
CoreTiming: Unschedule the pending events when an Interface is destroyed.
7 years ago
bunnei
7e7110b3b9
Merge pull request #226 from Subv/buffer_queue_event
...
Vi: Signal the BufferQueue's Native Handle right after ReleaseBuffer is called
7 years ago
bunnei
aef7a15b93
Merge pull request #225 from mailwl/settings
...
Service/Set: add more services
7 years ago
Subv
656e7aab29
Vi: Signal the BufferQueue's Native Handle right after ReleaseBuffer is called.
...
This prevents a thread starvation issue in Puyo Puyo Tetris.
We should hwtest this behavior and figure out where exactly this event is signaled.
7 years ago
mailwl
28669872d9
Service/Set: add more services
7 years ago
bunnei
46fc7d8502
Merge pull request #216 from Subv/savedata
...
Implemented the SaveData archive and MountSaveData.
7 years ago
Subv
3209cff530
SaveData: Use the current titleid when opening the savedata archive.
7 years ago
Subv
827f8ca3c7
Kernel: Store the program id in the Process class instead of the CodeSet class.
...
There may be many CodeSets per Process, so it's wasteful and overcomplicated to store the program id in each of them.
7 years ago
Subv
cc6e4ae6cf
FS: Implement MountSaveData and some of the IFile interface.
7 years ago
Subv
d140c8ecf7
Filesystem: Added a SaveData Factory and associated Disk_FileSystem.
7 years ago
bunnei
b1709410dd
Merge pull request #224 from Armada651/clear-process
...
thread: Clear the process list on shutdown.
7 years ago
Jules Blok
c74af07c49
thread: Clear the process list on shutdown.
7 years ago