Brett Lawson
ef5cdfa2d2
vulkan: Fixed miss-named variable in draw handling.
2018-10-17 01:18:50 -07:00
Brett Lawson
8075ad8367
vulkan: Added debugger UI performance counters.
2018-10-17 01:18:50 -07:00
Brett Lawson
48a575e2ec
vulkan: Added cacheing of attribute buffers.
...
We previously allocated and uploaded the attribute buffers
for every single draw call that was made.
2018-10-17 01:18:50 -07:00
Brett Lawson
f2751802a6
vulkan: Fixed issue with number of active uniform buffers.
2018-10-17 01:18:49 -07:00
Brett Lawson
aa2a90ec71
vulkan: Added PM4 CB tracking to avoid unneeded rehashing.
2018-10-17 01:18:49 -07:00
James Benton
74aa2c6d2e
cafe/nn: Add Result::Description values.
2018-10-14 09:45:54 +01:00
James Benton
faf11b05d5
cafe/loader: Fix linking of circular dependencies.
...
Fixes #487
2018-10-12 18:52:28 +01:00
James Benton
f4fe4a5f76
Rename ENUM_NAMESPACE_{BEG,END} to ENUM_NAMESPACE_{ENTER,EXIT}.
2018-10-11 22:21:13 +01:00
James Benton
bc20ee58ae
Rename BITFIELD to BITFIELD_BEG.
2018-10-11 22:21:07 +01:00
James Benton
89bca06668
Rename CHECK_MEMBER_OFFSET_START to CHECK_MEMBER_OFFSET_BEG.
2018-10-11 22:21:02 +01:00
James Benton
073a4c47a9
Fix copy pasta with hfio_path
2018-10-12 10:44:19 +01:00
James Benton
44a74fb160
latte/pm4: Add WaitRegMem and WaitMem pm4 packets.
2018-10-11 16:15:32 +01:00
James Benton
1bf3e4d1d2
Use pointer.get instead of pointer.getRawPointer where applicable.
...
.get() is preferred because it will still return a be2_val wrapped value,
whereas getRawPointer() returns the underlying type without be2_val wrapper.
2018-10-11 16:15:32 +01:00
James Benton
86893962b7
cpu: Change Pointer::get to use a new pointer_get_type instead of deref type.
...
So we avoid wrapping structs unnecessarily in be2_struct.
2018-10-11 16:15:32 +01:00
James Benton
2a0d2f46c6
cpu: be2_val add helper to access Pointer .get()
2018-10-11 16:15:32 +01:00
James Benton
ad1cb1b284
cpu: Change pointer dereference type to not wrap 1 byte values in be2_val.
2018-10-11 16:15:32 +01:00
James Benton
a1e1932a5c
cpu: Fix dereference_type for Pointer<void>
2018-10-11 16:15:32 +01:00
James Benton
c1b50cd56a
latte: Remove unused DECAF_SET_SWAP_INTERVAL pm4 command.
2018-10-11 16:15:32 +01:00
James Benton
c99152c738
latte: Remove unused DECAF_DEBUGMARKER pm4 command.
2018-10-11 16:15:32 +01:00
James Benton
647ef1ab41
latte: Add CP_COHER_STATUS register id.
2018-10-11 16:15:32 +01:00
James Benton
e7e445ec3e
cafe/gx2: Cleanup GX2DebugTag stuff.
2018-10-11 16:15:32 +01:00
James Benton
2b7e217c8c
latte: Fix pm4 reader for reading empty spans.
2018-10-11 16:15:32 +01:00
James Benton
3fbc5cba4d
cafe/gx2: Fix getSurfaceUse to replicate the equivalent function in gx2.rpl
2018-10-11 16:15:32 +01:00
James Benton
5ea02e528d
cafe/gx2: Add GX2CheckSurfaceUsVsFormat.
2018-10-11 16:15:32 +01:00
James Benton
8f2183f1c8
cafe/gx2: Implement GX2{Get,Set}MiscParam.
2018-10-11 16:15:32 +01:00
James Benton
d365b96a51
cafe/tcl: Implement TCLGetInfo and TCLSetHangWait.
2018-10-11 16:15:32 +01:00
James Benton
03534e0593
cafe/coreinit: Fix export for __OSPhysicalToEffective{Cached,Uncached}.
2018-10-11 16:15:32 +01:00
James Benton
f7c4cd719a
filesystem: Fix write permission check for Append mode.
2018-10-11 16:15:32 +01:00
James Benton
857cdd1db6
ios/fs: Use FLAGS_BEG instead of ENUM_BEG for FSAWriteFlag
2018-10-11 16:15:32 +01:00
James Benton
9953118e4e
cafe/coreinit: Implement some FSA commands.
2018-10-11 16:15:32 +01:00
James Benton
206296aeff
decaf: Add support for mounting /dev/hfio01
2018-10-11 16:15:32 +01:00
James Benton
ed914a2229
cafe/coreinit: Implement some FSA functions.
...
FSAInit
FSAShutDown
FSAAddClient
FSAAddClientEx
FSADelClient
_FSAShimCheckClientHandle
_FSAShimAllocateBuffer
_FSAShimFreeBuffer
2018-10-11 16:15:32 +01:00
James Benton
c7c4e23500
cafe/gx2: Implement GX2DebugCaptureInterface.
2018-10-11 16:15:32 +01:00
James Benton
95635b2b87
cafe/gx2: Merge gx2_swap into gx2_display.
2018-10-11 16:15:32 +01:00
James Benton
d5721a6ded
cafe/vpadbase: Stub VPADBASEGetHeadphoneStatus.
2018-10-07 14:53:41 +01:00
James Benton
7a3b9c0b4f
New GPU & GX2 command buffer implementation.
...
- Massive cleanup of gx2 command buffer pool.
- Buffers are now submitted through tcl.rpl.
- Adds a new GPU interrupt system.
- GPU correctly interrupts CPU when required by EVENT_WRITE_EOP to notify
of a retired command buffer.
- Breaks pm4-replay, fixes coming soon(TM).
2018-10-07 14:45:30 +01:00
James Benton
cadfc0181e
latte/pm4: Add support for writing a be2_val span.
2018-10-07 12:24:18 +01:00
James Benton
168384c665
cafe/gx2: Move GX{Get,Set}GPUTimeout to gx2_state.cpp
2018-10-07 12:22:50 +01:00
James Benton
19e26d44db
cafe/coreinit: Implement __OSSetInterruptHandler.
2018-10-07 12:20:15 +01:00
James Benton
46b36e3b7a
cafe/kernel: Different callback types for user and kernel interrupts.
2018-10-07 12:19:27 +01:00
James Benton
1d1df9e74c
cpu: Add Pointer::get which returns dereference typed pointer.
...
This is different to getRawPointer which returns a pointer without a
be2_val wrapper.
We should probably deprecate getRawPointer.
2018-10-07 12:18:32 +01:00
SteveLeafo
13eef6fb74
Implementation of GX2SubmitUserTimeStamp
2018-10-06 11:49:22 +01:00
James Benton
d0a7525163
ios/mcp: Fix sdcard permissions for applications without a cos.xml
2018-10-06 11:49:17 +01:00
James Benton
6935c58227
gpu: Cleanup MemWrite and EventWriteEop.
2018-10-06 11:49:17 +01:00
James Benton
ffe1f84795
latte: Add VGT_EVENT_INDEX::TIMESTAMP
2018-10-06 11:49:17 +01:00
James Benton
2ff66933f4
latte: Add CP_INT_CNTL and CP_INT_STATUS registers.
2018-10-06 11:49:17 +01:00
James Benton
4fdf70bd41
cafe/gx2: Add support for writing Type0 PM4.
2018-10-06 11:49:17 +01:00
James Benton
5c51e7dc5e
gpu: Improve eventWriteEOP.
2018-10-05 16:13:28 +01:00
James Benton
2c0636b5b0
coreinit: Fix string_copy in FSMountAsync.
2018-10-03 21:04:31 +01:00
James Benton
650bb6e1a6
cafe/loader: Fix missing IPCLDriver initialisation core 0 / 2.
2018-10-01 23:15:34 +01:00