Henri Verbeet
31eb152917
vkd3d-shader/ir: Require signed operands for ISHR instructions.
2025-09-18 11:26:52 +02:00
Nikolay Sivov
c481414572
vkd3d: Implement d3d12_device_CreateCommandList1().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com >
2025-09-17 12:50:16 +02:00
Nikolay Sivov
faec701cce
vkd3d: Check that the allocator type matches the list type in d3d12_command_list_Reset().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com >
2025-09-17 12:38:27 +02:00
Shaun Ren
b6d274e68e
vkd3d-shader/hlsl: Remove the whitespace before the closing parenthesis in dump_ir_expr().
2025-09-17 12:36:54 +02:00
Henri Verbeet
d09f1502ba
tests/hlsl: Add a missing "}" to trigonometry.shader_test.
2025-09-17 12:34:56 +02:00
Henri Verbeet
d914b3f5a4
vkd3d-shader/spirv: Use spirv_get_type_id() in spirv_compiler_emit_dot().
2025-09-17 12:34:13 +02:00
Henri Verbeet
cc6e8826f6
vkd3d-shader/spirv: Use spirv_get_type_id() in spirv_compiler_emit_swapc().
2025-09-17 12:34:13 +02:00
Henri Verbeet
6e18003aef
vkd3d-shader/spirv: Use spirv_get_type_id() in spirv_compiler_emit_movc().
2025-09-17 12:34:13 +02:00
Henri Verbeet
d52efee466
vkd3d-shader/spirv: Use spirv_get_type_id() in spirv_compiler_emit_ext_glsl_instruction().
2025-09-17 12:34:13 +02:00
Henri Verbeet
31a4741a3b
vkd3d-shader/spirv: Use spirv_get_type_id() in spirv_compiler_emit_workgroup_memory().
2025-09-17 12:34:13 +02:00
Francisco Casas
d2d22c7af6
vkd3d-shader/ir: Move the source and destination operand allocators to struct vsir_program.
2025-09-17 12:31:49 +02:00
Francisco Casas
6ed78a0211
vkd3d-shader/ir: Store a pointer to the vsir program in struct control_point_normaliser.
...
We will move the dst_params and src_params fields from struct
vkd3d_shader_instruction_array to the vsir program next, so we need to
widen the scope of this pointer to the whole vsir program.
2025-09-17 12:19:56 +02:00
Francisco Casas
5278b8461f
vkd3d-shader/ir: Store a pointer to the instruction array in struct control_point_normaliser.
...
We stop storing a shallow copy of the vsir_program.instructions on
control_point_normaliser.instructions since
vkd3d_shader_instruction_array is not meant to be copied by value, which
is evidenced by the fact that the struct has to always be copied back to
program->instructions before returning.
2025-09-17 12:19:56 +02:00
Francisco Casas
9323dc429c
vkd3d-shader/ir: Move the outpointid_param field out of struct vkd3d_shader_instruction_array.
...
It is worth noting that previously, the case of
vsir_program_create_outpointid_param() failing on
sm6_parser_init_signature() wasn't properly handled.
2025-09-17 12:19:55 +02:00
Henri Verbeet
84b89f0675
vkd3d-shader/ir: Remove some unused fields from struct io_normaliser.
2025-09-17 12:18:28 +02:00
Francisco Casas
5a563ce05d
vkd3d-shader/ir: Move icbs from struct vkd3d_shader_instruction_array to struct vsir_program.
2025-09-17 11:48:19 +02:00
Elizabeth Figura
32e64cafa5
vkd3d-shader/d3dbc: Lower TEXCOORD instructions.
2025-09-17 11:37:49 +02:00
Elizabeth Figura
5706834b37
vkd3d-shader/d3dbc: Lower TEX instructions.
2025-09-17 11:28:48 +02:00
Elizabeth Figura
b09a17ddde
vkd3d-shader/d3dbc: Lower TEXTURE to TEMP registers when written.
2025-09-17 11:22:23 +02:00
Elizabeth Figura
2cf883d1dd
vkd3d-shader/d3dbc: Move the error for unhandled d3dbc instructions to vsir_program_lower_d3dbc_instructions().
2025-09-17 11:10:55 +02:00
Giovanni Mascellani
dddc92ccfd
vkd3d-shader/ir: Use a faster TEMP allocation algorithm.
2025-09-16 16:14:23 +02:00
Giovanni Mascellani
92ac3b592b
vkd3d-shader/ir: Introduce temp_allocator_compute_allocation_map().
...
This isolates computing the allocation map from modifying the program
itself, to make it easier to change the allocation algorithm.
2025-09-16 15:52:09 +02:00
Henri Verbeet
89641d3d42
vkd3d-shader/ir: Require signed source operands for ITOF instructions.
2025-09-16 15:46:23 +02:00
Henri Verbeet
9ee53c9573
vkd3d-shader/d3d-asm: Handle i64 immediate constants.
2025-09-16 15:46:23 +02:00
Henri Verbeet
8fb8cca0d7
vkd3d-shader/dxil: Allow creating signed parameters in src_param_init_from_value().
2025-09-16 15:46:23 +02:00