Elizabeth Figura
5452e79a19
vkd3d-shader/d3d-asm: Handle INT_MIN in shader_print_int_literal().
2025-06-24 15:51:31 +02:00
Henri Verbeet
1214359022
vkd3d-shader/ir: Introduce vsir_opcode_get_name().
2025-06-10 17:44:18 +02:00
Elizabeth Figura
847c008b49
vkd3d-shader/ir: Split TEX into two separate vsir opcodes.
...
The two have the same d3dbc opcode, but have different names and different semantics.
2025-06-02 20:13:52 +02:00
Elizabeth Figura
b25362e036
vkd3d-shader/ir: Split TEXCOORD into two separate vsir opcodes.
...
The two have the same d3dbc opcode, but have different names and different semantics.
2025-06-02 20:12:27 +02:00
Shaun Ren
18ec4caded
vkd3d-shader/tpf: Read the DCL_OUTPUT_SGV instruction.
...
Introduce VSIR op VKD3DSIH_DCL_OUTPUT_SGV.
2025-05-24 20:38:36 +02:00
Giovanni Mascellani
f02ea94c42
vkd3d-shader/d3d-asm: Trace register names for I/O declarations.
2025-04-14 21:57:27 +02:00
Giovanni Mascellani
0417f4f162
vkd3d-shader/d3d-asm: Include the program descriptors when tracing vsir code.
2025-04-14 21:57:15 +02:00
Giovanni Mascellani
bac6949365
vkd3d-shader/d3d-asm: Expose the raw value if unknown in shader_dump_data_type().
2025-04-14 21:55:26 +02:00
Giovanni Mascellani
fd16bba29d
vkd3d-shader/d3d-asm: Expose the raw value if unknown in shader_dump_resource_type().
2025-04-14 21:55:26 +02:00
Henri Verbeet
f4e10ea9d5
vkd3d-shader/d3d-asm: Include the I/O signatures when tracing vsir code.
2025-04-14 21:55:26 +02:00
Shaun Ren
b1ace5763a
vkd3d-shader/hlsl: Implement input semantics for geometry shaders.
2025-03-18 15:40:11 +01:00
Henri Verbeet
fe4143ad19
vkd3d-shader/dxil: Generate I/O signatures with 16-bit component types for native 16-bit shaders.
...
Which incidentally matches the I/O signatures from the DXBC container.
2025-02-24 15:10:08 +01:00
Shaun Ren
f3f2880261
vkd3d-shader/d3d-asm: Print vocp registers with subscript.
2025-01-21 14:05:21 +01:00
Elizabeth Figura
3c53293028
vkd3d-shader/ir: Separate VKD3DSPR_OUTPUT and VKD3DSPR_TEXCRDOUT.
...
This simplifies the IR.
2024-12-18 17:30:16 +01:00
Elizabeth Figura
8132239ed2
vkd3d-shader/ir: Separate VKD3DSPR_ADDR and VKD3DSPR_TEXTURE.
...
This simplifies the IR.
2024-12-18 17:30:16 +01:00
Elizabeth Figura
0df5dea653
vkd3d-shader/d3d-asm: Define register names in a table.
2024-12-18 17:30:16 +01:00
Elizabeth Figura
65f3f56f63
vkd3d-shader/d3dbc: Normalize to a single VKD3DSPR_CONST register set when reading.
...
We don't need VKD3DSPR_CONST2 et al in the IR, even for disassembly.
2024-12-18 17:30:16 +01:00
Elizabeth Figura
36fda8e28c
vkd3d-shader: Correct the disassembly for POSITIONT.
2024-12-03 14:49:02 +01:00
Elizabeth Figura
3d6f836801
vkd3d-shader: Fix the disassembly names of IFC and BREAKC.
2024-12-03 14:49:02 +01:00
Giovanni Mascellani
18e422dfe4
vkd3d-shader/ir: Encode I/O declarations in vsir_program.
...
Most I/O registers are already described by the shader signatures.
The registers that are not do not have any property other then
being used by the program or not, so they can be collectively
described with a bitmap.
2024-12-03 14:19:24 +01:00
Henri Verbeet
fa6d03a4cb
vkd3d-shader/d3d-asm: Implement support for VKD3DSPR_PARAMETER registers.
2024-10-28 17:54:20 +01:00
Henri Verbeet
1113d24a70
vkd3d-shader/ir: Store the global flags in struct vsir_program.
2024-10-22 20:40:31 +02:00
Elizabeth Figura
a492d64fef
vkd3d-shader/ir: Allow controlling point sprite through a parameter.
2024-10-22 19:14:02 +02:00
Giovanni Mascellani
c332adaa68
vkd3d-shader/d3d-asm: Dump signatures when tracing a VSIR program.
2024-10-08 22:04:59 +02:00
Giovanni Mascellani
c7d09bba97
vkd3d-shader/d3d-asm: Rename dump_signatures() to dump_dxbc_signatures().
2024-10-08 22:04:59 +02:00