Commit Graph

4335 Commits

Author SHA1 Message Date
Elizabeth Figura
bcb2acbdab vkd3d-shader/hlsl: Set the destination data type to UINT in sm4_generate_vsir_cast_from_bool().
Validation checks that the source and destination types are both integer.
2025-06-25 15:46:27 +02:00
Elizabeth Figura
a1eb53df3c vkd3d-shader/hlsl: Set the data type in sm4_generate_vsir_reg_from_deref(). 2025-06-25 15:43:15 +02:00
Elizabeth Figura
ecb19b33ba vkd3d-shader/hlsl: Output sm1 semantics with unique register_index values.
Match the register_index values from the d3dbc reader.
2025-06-25 15:43:15 +02:00
Elizabeth Figura
41cacba5ce vkd3d-shader/hlsl: Convert descriptor registers to pre-5.1 form in the TPF writer.
Rather than in the HLSL writer. This way we output vsir consistent with the vsir
we read, and the vsir that the backends expect [bringing us one step closer to
being able to feed the HLSL frontend directly into the individual backends.]
2025-06-25 15:42:51 +02:00
Giovanni Mascellani
3a4f95aca6 vkd3d-shader/ir: Do not crash when registers cannot be resolved to signature elements. 2025-06-25 15:40:12 +02:00
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
c2a01fff1e vkd3d-shader/msl: Implement support for static texel offsets in msl_sample(). 2025-06-24 15:32:59 +02:00
Henri Verbeet
6f8ce6df72 vkd3d-shader/msl: Implement VKD3DSIH_GATHER4_PO. 2025-06-24 15:32:59 +02:00
Henri Verbeet
449804623a vkd3d-shader/msl: Implement VKD3DSIH_GATHER4_C. 2025-06-24 15:32:59 +02:00
Henri Verbeet
841cf65a41 vkd3d-shader/msl: Implement VKD3DSIH_GATHER4. 2025-06-24 15:32:59 +02:00
Henri Verbeet
3cc404759d vkd3d-shader/msl: Implement VKD3DSIH_SAMPLE_LOD. 2025-06-24 15:32:59 +02:00
Giovanni Mascellani
99db7270f0 vkd3d-shader/ir: Validate DSY_FINE instructions. 2025-06-24 15:31:39 +02:00
Giovanni Mascellani
cbd508fce6 vkd3d-shader/ir: Validate DSY_COARSE instructions. 2025-06-24 15:31:39 +02:00
Giovanni Mascellani
7acebfc978 vkd3d-shader/ir: Validate DSY instructions. 2025-06-24 15:31:39 +02:00
Giovanni Mascellani
6bf25800c2 vkd3d-shader/ir: Validate DSX_FINE instructions. 2025-06-24 15:31:39 +02:00
Giovanni Mascellani
95e095992d vkd3d-shader/ir: Validate DSX_COARSE instructions. 2025-06-24 15:31:39 +02:00
Giovanni Mascellani
96bb2953cc vkd3d-shader/ir: Validate DSX instructions. 2025-06-24 15:31:39 +02:00
Giovanni Mascellani
ad320776a1 vkd3d-shader/ir: Validate DRCP instructions. 2025-06-24 15:31:39 +02:00
Giovanni Mascellani
19c2734d31 vkd3d-shader/ir: Validate DNE instructions. 2025-06-24 15:31:39 +02:00
Giovanni Mascellani
bcaa1d50b0 vkd3d-shader/ir: Validate data types for destination shifts. 2025-06-24 15:28:00 +02:00
Giovanni Mascellani
1862c28b90 vkd3d-shader/ir: Validate data types for SATURATE destination modifiers. 2025-06-24 15:27:48 +02:00
Giovanni Mascellani
318d7466a8 vkd3d-shader/ir: Validate data types for NOT source modifiers. 2025-06-24 15:27:38 +02:00
Giovanni Mascellani
65c23999e8 vkd3d-shader/ir: Validate data types for ABSNEG source modifiers. 2025-06-24 15:27:29 +02:00
Giovanni Mascellani
0252e2e660 vkd3d-shader/ir: Validate data types for ABS source modifiers. 2025-06-24 15:27:02 +02:00
Giovanni Mascellani
31581b0002 vkd3d-shader/ir: Lower IMUL and UMUL to IMUL_LOW. 2025-06-24 15:21:13 +02:00