Commit Graph

8527 Commits

Author SHA1 Message Date
Shaun Ren
b31dc058b9 vkd3d-shader/hlsl: Validate groupshared variables. 2025-12-08 17:01:57 +01:00
Shaun Ren
d2d50efaea tests/hlsl: Add more TGSM tests. 2025-12-08 17:01:57 +01:00
Shaun Ren
654a29b788 tests/hlsl: Add some structured copy tests. 2025-12-08 17:01:51 +01:00
Giovanni Mascellani
cd230078a7 vkd3d-shader/dxil: Allocate instructions directly in sm6_parser_emit_dx_raw_buffer_load(). 2025-12-04 20:11:14 +01:00
Giovanni Mascellani
203fc6d773 vkd3d-shader/dxil: Allocate instructions directly in sm6_parser_emit_dx_buffer_load(). 2025-12-04 20:08:43 +01:00
Giovanni Mascellani
e0ef0c4a67 vkd3d-shader/dxil: Allocate instructions directly in sm6_parser_emit_dx_barrier(). 2025-12-04 19:41:59 +01:00
Giovanni Mascellani
1941be3cc5 vkd3d-shader/dxil: Allocate instructions directly in sm6_parser_emit_dx_atomic_binop(). 2025-12-04 19:31:46 +01:00
Giovanni Mascellani
8d0f82c45a vkd3d-shader/dxil: Allocate instructions directly in sm6_parser_emit_dx_unary(). 2025-12-04 19:31:45 +01:00
Henri Verbeet
9ddb815127 vkd3d-shader/ir: Rename struct vkd3d_shader_src_param to struct vsir_src_operand. 2025-12-04 19:22:30 +01:00
Henri Verbeet
59c8c1b8fa vkd3d-shader/ir: Rename struct vkd3d_shader_dst_param to struct vsir_dst_operand. 2025-12-04 19:21:37 +01:00
Giovanni Mascellani
90196f7d01 vkd3d-shader/dxil: Remove sm6_parser_emit_unhandled().
It's currently useless, when there is a failure we drop out of
sm6_parser_function_init() before even checking what the current
instruction or value looks like.
2025-12-03 15:23:10 +01:00
Giovanni Mascellani
f64432d4ec vkd3d-shader/dxil: Take the record from the function emission state in sm6_parser_emit_call(). 2025-12-03 15:15:59 +01:00
Giovanni Mascellani
c2ff59e80b vkd3d-shader/dxil: Allocate instructions directly in sm6_parser_emit_br(). 2025-12-03 15:15:59 +01:00
Giovanni Mascellani
2855f2d605 vkd3d-shader/dxil: Pass the function emission state to sm6_parser_emit_br(). 2025-12-03 15:15:59 +01:00
Giovanni Mascellani
83ebe58984 vkd3d-shader/dxil: Allocate instructions directly in sm6_parser_emit_binop(). 2025-12-03 15:15:59 +01:00
Giovanni Mascellani
5d51d89ef1 vkd3d-shader/dxil: Pass the function emission state to sm6_parser_emit_binop(). 2025-12-03 15:15:59 +01:00
Giovanni Mascellani
be31451ae9 vkd3d: Rename the struct vkd3d_device_descriptor_limits fields.
They do not represent the raw Vulkan resource limits, but the
emulated d3d12 limits depending on the Vulkan limits. Therefore
name them according to d3d12.
2025-12-03 15:14:16 +01:00
Giovanni Mascellani
443f4bc056 vkd3d: Remove unused field storage_buffer_max_descriptors from vkd3d_device_descriptor_limits. 2025-12-03 15:12:35 +01:00
Giovanni Mascellani
7c6c176a7c tests: Do not put storage buffer descriptors in the descriptor pool.
They are never used.
2025-12-03 15:11:23 +01:00
Giovanni Mascellani
f9f8b3a5a4 tests/d3dbc: Relax the precision for some nrm tests.
That's needed on my NVIDIA RTX 4060 Mobile.
2025-12-02 14:31:19 +01:00
Henri Verbeet
e0c23624f2 vkd3d-shader/ir: Lower VSIR_OP_LRP instructions. 2025-12-02 14:29:01 +01:00
Henri Verbeet
355a88b564 tests/d3dbc: Add some tests for lrp instructions. 2025-12-02 14:29:01 +01:00
Giovanni Mascellani
63c71efb6e tests/hlsl: Fix the render target format for arithmetic-float-uniform.shader_test. 2025-12-02 14:27:34 +01:00
Giovanni Mascellani
1e4764d555 vkd3d-shader/dxil: Parse the f32 denormalization mode. 2025-12-02 14:26:16 +01:00
Giovanni Mascellani
e99b29d203 tests/hlsl: Test the default denormalized mode. 2025-12-02 14:14:12 +01:00