Elizabeth Figura
2a4ac90ad2
vkd3d-shader/hlsl: Use replace_ir() for fold_swizzle_chains().
2025-10-09 13:21:47 +02:00
Elizabeth Figura
f3522eae2e
vkd3d-shader/hlsl: Rename lower_ir() to replace_ir().
...
We want to use it for folding passes as well, but describing these as "lowering"
is not very accurate. Use the more generic term "replace".
2025-10-09 13:21:47 +02:00
Elizabeth Figura
be31842197
vkd3d-shader/hlsl: Return a node from lower_ir().
...
This allows us to use the same function for "folding" passes, which usually
replace with a node other than the last one added in a block.
2025-10-09 13:20:46 +02:00
Francisco Casas
b1672fd3fe
vkd3d-shader/ir: Don't preallocate instructions in vsir_cfg_structure_list_emit_loop().
2025-10-08 13:43:52 +02:00
Francisco Casas
aa8c935030
vkd3d-shader/ir: Don't preallocate instructions in vsir_cfg_structure_list_emit_block().
2025-10-08 13:43:52 +02:00
Francisco Casas
26d1f4c78d
vkd3d-shader/ir: Don't preallocate in vsir_program_materialise_phi_ssas_to_temps().
2025-10-08 13:43:52 +02:00
Francisco Casas
9af4ec2b28
vkd3d-shader/ir: Don't preallocate instructions in vsir_cfg_structure_list_emit_jump().
2025-10-08 13:43:52 +02:00
Francisco Casas
0c3828e8c9
vkd3d-shader/ir: Don't preallocate instructions in vsir_program_lower_switch_to_selection_ladder().
2025-10-08 13:43:52 +02:00
Francisco Casas
aefa22a063
vkd3d-shader/ir: Don't preallocate instructions in cf_flattener_iterate_instruction_array().
2025-10-08 13:43:52 +02:00
Henri Verbeet
7dea1e83d2
vkd3d-shader: Get rid of component_type_is_64_bit().
...
Its last user was removed in commit
9623ca4a6f .
2025-10-08 13:41:18 +02:00
Henri Verbeet
d50503f116
vkd3d-shader/spirv: Pass a vsir_data_type to spirv_compiler_emit_interpolation_decorations().
2025-10-08 13:32:42 +02:00
Henri Verbeet
8bf97a27bf
vkd3d-shader/spirv: Pass a vsir_data_type to spirv_compiler_emit_store_dst_swizzled().
2025-10-08 13:32:42 +02:00
Henri Verbeet
408eb145a6
vkd3d-shader/spirv: Pass a vsir_data_type to spirv_compiler_emit_load_src_with_type().
2025-10-08 13:32:42 +02:00
Giovanni Mascellani
c0db7f7ff5
vkd3d-shader/dxil: Generate ABS instructions instead of using modifiers.
2025-10-08 13:30:17 +02:00
Giovanni Mascellani
112bbbb161
vkd3d-shader/ir: Lower ABS modifiers to instructions.
2025-10-08 13:30:17 +02:00
Henri Verbeet
c522db8ce8
tests/shader_runner: Handle the "rgba" probe format as an alias for "f32".
2025-10-07 13:12:36 +02:00
Henri Verbeet
6b7e4453d5
vkd3d-shader/spirv: Use spirv_get_type_id() in spirv_compiler_emit_atomic_instruction().
2025-10-07 13:11:22 +02:00
Henri Verbeet
cd5e1b0e20
vkd3d-shader/spirv: Use spirv_get_type_id() in spirv_compiler_emit_store_uav_raw_structured().
2025-10-07 13:11:22 +02:00
Henri Verbeet
7ffcbaaf66
vkd3d-shader/spirv: Use spirv_get_type_id() in spirv_compiler_emit_ld_raw_structured_srv_uav().
2025-10-07 13:11:22 +02:00
Henri Verbeet
8f688afc83
vkd3d-shader/spirv: Pass a vsir_data_type to spirv_compiler_get_image_type_id().
2025-10-07 13:11:22 +02:00
Henri Verbeet
81a13b9902
vkd3d-shader/spirv: Pass a vsir_data_type to spirv_compiler_emit_store_dst_components().
2025-10-07 13:11:22 +02:00
Elizabeth Figura
c8b2aca23d
vkd3d-shader/hlsl: Make ConstructGSWithSO an intrinsic function.
...
It's not a keyword.
2025-10-07 13:10:26 +02:00
Giovanni Mascellani
cd64aa69c8
tests/shader_runner: Introduce a new tag system.
...
Mostly to be able to associate a version number to each tag and
get rid of all the foo<1.2.3 tags. The new system also has fixed
tag slots, rather than dealing with strings, so we don't have to
manually adjust the size of the `tags' array.
With the new system each tag can be present or not, and if it is
present it can have an associated version number (of the form
major.minor.patch). If the version is not available, it is set to
0.0.0. Each tag can be queried for existence and for comparison
with the version number.
2025-10-06 19:41:09 +02:00
Giovanni Mascellani
41515b7047
tests: Introduce get_llvm_driver_version().
2025-10-06 15:22:06 +02:00
Giovanni Mascellani
42016ab09c
tests: Introduce get_nvidia_driver_version().
2025-10-06 15:22:06 +02:00