Commit graph

5222 commits

Author SHA1 Message Date
James Benton
0aeb34c474 tools/pm4-replay: Add support for looping replay. 2019-11-29 14:29:55 +00:00
James Benton
b447fe27d7 cafe/gx2: Update pm4cap for little endian shadow state. 2019-11-29 14:29:55 +00:00
James Benton
f4f66d864c cafe/gx2: Change pm4cap surface calculation to use newer gpu7 tiling code. 2019-11-29 14:29:55 +00:00
James Benton
21de31c1d9 gpu: Remove explicit register sync which was previously used in pm4 capture.
Not actually needed because it is covered by context state.
2019-11-29 14:29:55 +00:00
Brett Lawson
6e3c89ca97 tools/pm4-replay: Fix some bugs with newer gpu interface. 2019-11-29 13:58:11 +00:00
Brett Lawson
1ff32233f3 tests/gpu_tiling: Fix vulkan to use new tiling description. 2019-11-27 05:44:37 -08:00
James Benton
6083ba4e83 gpu/gpu7_tiling: Fix untileMip for formats which modify numSlices. 2019-11-27 05:25:34 -08:00
James Benton
3c214d82b4 gpu/gpu7_tiling: Fix unpitching for Texture3D. 2019-11-27 05:25:34 -08:00
James Benton
47a456ba1f gpu/gpu7_tiling: Fix computeSurfaceInfo sliceSize for Texture3D. 2019-11-27 05:25:34 -08:00
James Benton
1d4d96508c gpu7/tiling: Change how SurfaceDescription is specified. 2019-11-27 05:25:33 -08:00
James Benton
355f006292 tests/gpu/tiling: Enable mipmap testing. 2019-11-27 05:25:33 -08:00
James Benton
b974856df1 tests/gpu/tiling: Fix inputBaseMap value for mipLevels != 0. 2019-11-27 05:25:33 -08:00
James Benton
855b50f1c7 tests/gpu_tiling: Fix indentation in addrlib_helpers.h 2019-11-27 05:25:33 -08:00
Brett Lawson
b350a64bba spirv: Fix ArrayStride decorations causing validation warnings. 2019-11-27 05:25:33 -08:00
Brett Lawson
38907ac726 replay: Correctly initialize GPU register state before running replay. 2019-11-27 05:25:32 -08:00
Brett Lawson
eaf52f5e9e vulkan: Added support for inserting debug markers in command stream. 2019-11-27 05:25:32 -08:00
Brett Lawson
eaa07c1aed vulkan: Added render-bypass for fully invalid render targets. 2019-11-27 05:25:32 -08:00
James Benton
2f0641e853 gpu/vulkan: Fix warning around operator &. 2019-11-27 05:25:31 -08:00
Brett Lawson
62c6188686 vulkan: Fixed viewport flipping from recent register fix. 2019-11-27 04:53:52 -08:00
James Benton
4119057015 cafe/gx2: Fix GX2GetViewportReg implementation. 2019-11-27 04:53:51 -08:00
James Benton
59defec79d cafe/gx2: Fix GX2InitViewportReg implementation. 2019-11-27 04:53:51 -08:00
Brett Lawson
844567a274 vulkan: Use the correct stage bits for streamout counter reads. 2019-11-27 04:53:51 -08:00
Brett Lawson
38f006f391 vulkan: Switch to using StorageBuffer's rather than UniformBuffer's. 2019-11-27 04:53:51 -08:00
Brett Lawson
0a4af15bb7 vulkan: Added warn handling for VS_PARTIAL_FLUSH 2019-11-27 04:53:50 -08:00
James Benton
d81c4787e3 cafe/gx2: Do not write capture tag groups when debug capture is not enabled. 2019-11-24 21:59:55 +00:00
James Benton
ecfd235d15 cafe/gx2: Fix GX2CallDisplayList using IndirectBufferCall instead of Priv 2019-11-24 21:59:50 +00:00
James Benton
31ed0dd31a cafe/kernel: Fix mapping physical to virtual address when codegen is disabled. 2019-11-24 21:59:45 +00:00
James Benton
e733f09198 cafe/gx2: Fix GX2DrawIndexedImmediateEx byte order. 2019-11-24 21:59:40 +00:00
James Benton
4b707fd46c replay: Added gpu configuration 2019-11-25 01:57:34 -08:00
Brett Lawson
931e6bb0cf common: Updated warning assertions to only print once 2019-11-25 01:50:09 -08:00
Brett Lawson
d1dcc0921a spirv: Updated RECT drawing to correctly handle params. 2019-11-25 01:50:09 -08:00
Brett Lawson
6db2b7dfef vulkan: Fixed DMA index swap modes being used on non-DMA draws. 2019-11-25 01:50:08 -08:00
Brett Lawson
1a8ca3d6dc vulkan: Fixed buffer overruns causing graphical flaws. 2019-11-25 01:50:08 -08:00
Brett Lawson
d0e406aa1d pm4: Do not byte-swap shadow register reads/writes. 2019-11-25 01:50:08 -08:00
James Benton
66a57492e9 vulkan: Don't dump invalid shaders. 2019-11-25 01:50:07 -08:00
James Benton
8959c207cf vulkan: Fix handling of no-raster framebuffer creation. 2019-11-25 01:50:07 -08:00
James Benton
9a3fea6bbb latte: Fix serialisation of EventWrite packet. 2019-11-25 01:50:07 -08:00
James Benton
dd236df1d9 vulkan: Added temporary handling and docs for CACHE_FLUSH. 2019-11-25 01:50:07 -08:00
James Benton
6b71e35eb5 cmake: Add option to disable generation of version header from git state. 2019-11-25 01:50:06 -08:00
James Benton
4f8511f565 tools/pm4-replay: Refactor and fix a few bugs. 2019-11-24 10:23:24 +00:00
Brett Lawson
9f3a2987b5 spirv: Improved implementation of CUBE operation. 2019-11-23 08:08:41 -08:00
Brett Lawson
35b36c6a62 spirv: Added original latte disassembly to generated SPIRV shaders. 2019-11-23 08:08:41 -08:00
Brett Lawson
b15a2d6e81 pm4: Fixed issue with no-notify not correctly clearing vertex semantics. 2019-11-23 08:08:40 -08:00
James Benton
c3617563a6 ci: Improve artifact upload.
We dont need a zip inside a zip.. :)
2019-11-22 13:33:30 +00:00
James Benton
70ad361a65 Move wut based tests to their own repository.
https://github.com/decaf-emu/wiiu-tests
2019-11-22 11:47:21 +00:00
James Benton
bf387e8a07 latte-assembler: Remove build dependency on libgpu.
Still uses it's headers though.
2019-11-22 11:47:21 +00:00
James Benton
9c4b7e2539 gfd-tool: Fix missing null terminator. 2019-11-19 22:36:00 +00:00
James Benton
b5a2fbab2f latte-assembler: Add prototype support for GLSL compiliation.
Depends upon glslang and AMD ShaderAnalyzer.

Could be fragile - there is no communication between glslang and AMD
ShaderAnalyzer, we just hope they do stuff predictably... :)
2019-11-19 22:35:00 +00:00
James Benton
060f4fd56a latte-assembler: Fix uniformVars default block index. 2019-11-19 11:41:39 +00:00
James Benton
57f8e01d54 latte-assembler: Rename compile -> assemble.
Maybe someone will add GLSL compiling to this tool and want to call it compile.
2019-11-19 11:41:27 +00:00