Commit Graph

42 Commits

Author SHA1 Message Date
Triang3l
4825e69fda [D3D12] Cleanup primitive types and front/back facing 2019-07-13 22:25:03 +03:00
Triang3l
6672997108 [D3D12] ROV early Z and full rewrite, shader scalar optimizations 2019-07-11 09:31:58 +03:00
Triang3l
66a9c9d812 [GPU] Store ALU result after both vector and scalar instructions 2019-04-20 20:30:01 +03:00
Triang3l
ef523823d5 [D3D12] Force early Z with DSV, fix blend disabled flag in rb_colorcontrol ignored 2019-01-11 17:07:33 +03:00
Triang3l
72e9ac5c28 [GPU] Shader translator: More memexport validation 2018-12-21 22:24:09 +03:00
Triang3l
adc0eb87f6 [GPU] Gather used memexport constants in shader translator 2018-12-20 10:14:18 +03:00
Triang3l
1ee3ed03fd [D3D12] DXBC: Skip loading and some ALU ops for identical operands 2018-12-09 00:20:13 +03:00
Triang3l
c4599ff211 [D3D12] Compact float constants and don't split them into pages 2018-09-30 20:17:26 +03:00
Triang3l
2a98d29eda [D3D12] DXBC: Most of tfetch 2018-09-11 22:57:08 +03:00
DrChat
abdc0ff05a [GPU] Document first parameter of eA (export address) 2018-04-13 21:07:14 -05:00
DrChat
e6524aa497 [GPU] Disassemble memexport exports 2018-04-08 18:02:39 -05:00
Dr. Chat
d94ff6eb25 Shaders: Track the register count from the program control register (if available) 2016-05-22 19:58:50 -05:00
Dr. Chat
2bb52ef86b SPIR-V: WIP shader compiler / optimizations / alpha test implementation 2016-05-15 12:01:38 -05:00
Ben Vanik
618ca80011 Count packed bytes used by a constant map. 2016-02-18 16:43:41 -08:00
Ben Vanik
5ab0af9e6d Implementing shader constant register map construction. 2016-02-18 16:43:41 -08:00
Dr. Chat
ccb6a9146c Expose microcode data hash in Shader
Return paths to files that were dumped from Dump
2016-02-05 15:59:07 -06:00
Ben Vanik
280c0b35f6 Basic control flow skeleton and jumps implemented.
A-train's trees draw right now!
Helps a bit with #473 but still need to implement loops.
2015-12-06 11:44:22 -08:00
Ben Vanik
c86e479214 Replacing old Shader with TranslatedShader. 2015-12-06 10:36:07 -08:00
Ben Vanik
51a8002629 Moving GL backend to new shader translator.
This seems to make a lot of things better, but may also break things.
Cleanup to follow.
2015-12-06 00:48:41 -08:00
Ben Vanik
bea8870700 Shuffling old-style ucode.h under gl4. 2015-11-28 16:10:27 -08:00
Ben Vanik
89172da4b7 Unplumbing program_cntl and simplifying shader loading. 2015-11-24 20:24:35 -08:00
Ben Vanik
1608878437 Trying to figure out shader flow control; not going so well :/ 2015-03-15 16:55:20 -07:00
Ben Vanik
41174b0e64 Hacktastic GPU trace viewer; textures, shaders, state, etc. 2015-03-01 12:26:11 -08:00
Ben Vanik
00e4a4fe1b Fix #include format. 2015-01-31 22:49:47 -08:00
Ben Vanik
eda38a7428 Misc tweaks. 2015-01-04 04:59:26 -08:00
Ben Vanik
8869d4620f Fixing clears. 2014-12-31 19:27:01 -08:00
Ben Vanik
5b2672a1b8 GLSL shaders translating (modulo texture fetches). 2014-12-31 19:27:01 -08:00
Ben Vanik
58cff84550 Copying over the shader translator - generating d3d shaders now. 2014-12-31 19:27:00 -08:00
Ben Vanik
14ee211ea9 Experimenting with vertex pipeline. 2014-12-31 19:26:59 -08:00
Ben Vanik
e8de42d9ea Copying in generic shader code. 2014-12-31 19:26:56 -08:00
Ben Vanik
295910c3d8 Initial refactoring of gpu/.
Runs too fast - now there are ringbuffer wrapping issues.
2014-06-08 11:23:55 -07:00
Ben Vanik
4de33a6e2d Making texture fetching split from samplers. 2014-01-20 15:36:33 -08:00
Ben Vanik
af223b2067 Textures part 1: uploading. 2014-01-20 13:57:22 -08:00
Ben Vanik
e469d87678 Detect write to psize and include conditionally. 2014-01-20 11:07:14 -08:00
Ben Vanik
99c72f24f2 Better vertex buffer construction, supporting packed data. 2014-01-18 00:12:57 -08:00
Ben Vanik
889e586cab Skeleton for new draw type and texture fetching. 2013-10-19 21:49:25 -07:00
Ben Vanik
96a857e892 Massively disgusting and incomplete shader translator. 2013-10-12 22:14:23 -07:00
Ben Vanik
0ef278325f Hacking to get first triangle drawn. 2013-10-12 15:07:34 -07:00
Ben Vanik
8e01e2d945 Vertex fetching. 2013-10-12 02:29:01 -07:00
Ben Vanik
04aad708c9 Shader type read for translation. 2013-10-11 22:04:34 -07:00
Ben Vanik
1378fad3c0 Basic shader cache. 2013-10-11 21:45:20 -07:00
Ben Vanik
6e4fb87992 D3D11 window up and spinning. 2013-10-11 20:23:58 -07:00