Conor McCarthy
|
1cca18a228
|
vkd3d-shader/dxil: Use strcmp() to find function names.
Function names are case-sensitive.
|
2024-01-23 20:26:52 +01:00 |
|
Conor McCarthy
|
4dec25cbde
|
vkd3d-shader/dxil: Use strcmp() to check the entry point name.
Function names are case-sensitive.
|
2024-01-23 20:26:50 +01:00 |
|
Zebediah Figura
|
a8b0c03912
|
vkd3d-shader/hlsl: Always cast to bool in if() statements.
We emit sm4 if_nz for these, but that does a bitwise comparison to zero, which is wrong for floats.
|
2024-01-23 20:26:46 +01:00 |
|
Zebediah Figura
|
183172eff4
|
vkd3d-shader/hlsl: Validate that condition expressions are numeric.
|
2024-01-23 20:26:45 +01:00 |
|
Zebediah Figura
|
09220edd21
|
vkd3d-shader/hlsl: Validate the condition data type for loops as well.
|
2024-01-23 20:26:44 +01:00 |
|
Zebediah Figura
|
c18a349a3f
|
vkd3d-shader/hlsl: Copy some missing fields in hlsl_type_clone().
|
2024-01-23 20:26:42 +01:00 |
|
Giovanni Mascellani
|
de9725b6ba
|
vkd3d-shader/ir: Remove DCL_TEMPS instructions.
We have to do work to keep it updated across passes and we never read it.
|
2024-01-23 20:26:38 +01:00 |
|
Giovanni Mascellani
|
4b869f73bb
|
vkd3d-shader/ir: Run tracing and validation for DXIL code too.
|
2024-01-23 20:26:36 +01:00 |
|
Conor McCarthy
|
6df725718a
|
vkd3d-shader/ir: Refactor return code checking in vkd3d_shader_normalise().
We started with only one or two of these but it has become excessive.
Patch originally written by Conor McCarthy and updated by Giovanni Mascellani.
|
2024-01-23 20:26:34 +01:00 |
|
Conor McCarthy
|
b3903636f7
|
vkd3d-shader/dxil: Implement DX intrinsic Binary.
|
2024-01-23 20:26:29 +01:00 |
|
Conor McCarthy
|
6c71cd5a72
|
vkd3d-shader/dxil: Add an operand type code for the return type.
|
2024-01-23 20:26:28 +01:00 |
|
Nikolay Sivov
|
0117e4fb7e
|
vkd3d-shader/fx: Add initial support for writing passes for fx_2_0.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
|
2024-01-23 20:26:22 +01:00 |
|
Nikolay Sivov
|
b478f0a300
|
vkd3d-shader/fx: Add initial support for writing fx_2_0 binaries.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
|
2024-01-23 20:26:21 +01:00 |
|
Nikolay Sivov
|
56100d36b1
|
vkd3d-shader/fx: Check technique type in global scope as well.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
|
2024-01-23 20:26:20 +01:00 |
|
Nikolay Sivov
|
2c1905b780
|
vkd3d-shader/hlsl: Allow annotations on techniques.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
|
2024-01-23 20:26:19 +01:00 |
|
Nikolay Sivov
|
76a689d43f
|
vkd3d-shader/hlsl: Allow annotations on passes.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
|
2024-01-23 20:26:18 +01:00 |
|
Nikolay Sivov
|
e72f8f9a30
|
vkd3d-shader/hlsl: Add passes variables to the techniques.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
|
2024-01-23 20:26:16 +01:00 |
|
Nikolay Sivov
|
fe8881747b
|
vkd3d-shader/hlsl: Add initial support for parsing annotations.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
|
2024-01-23 20:26:15 +01:00 |
|
Giovanni Mascellani
|
232b2ad360
|
vkd3d-shader/ir: Validate PHI instructions.
|
2024-01-23 20:26:08 +01:00 |
|
Giovanni Mascellani
|
56f9057985
|
vkd3d-shader/ir: Do not allow IMMCONST and IMMCONST64 as destination registers.
|
2024-01-23 20:26:06 +01:00 |
|
Giovanni Mascellani
|
21633fcc52
|
vkd3d-shader/ir: Refactor register-type-specific code in parameter validation.
To better accommodate code for other register types.
|
2024-01-23 20:26:05 +01:00 |
|
Giovanni Mascellani
|
fb6409bda1
|
vkd3d-shader/ir: Check that all instructions appear in a block.
|
2024-01-23 20:26:03 +01:00 |
|
Giovanni Mascellani
|
dc56320b31
|
vkd3d-shader/tpf: Support SV_ViewportArrayIndex in pixel and vertex shaders.
|
2024-01-22 22:19:14 +01:00 |
|
Giovanni Mascellani
|
3a90f3e29d
|
vkd3d-shader/tpf: Support SV_InstanceID in vertex shaders.
|
2024-01-22 22:19:13 +01:00 |
|
Giovanni Mascellani
|
b500381b5c
|
vkd3d-shader/tpf: Support SV_RenderTargetArrayIndex in pixel and vertex shaders.
|
2024-01-22 22:19:12 +01:00 |
|