-
7e6e6865
by Henri Verbeet at 2026-03-10T17:07:35+01:00
tests/hlsl: Use single-component UAVs in rasteriser-ordered-views.shader_test.
Using uint4 causes the "TypedUAVLoadAdditionalFormats" capability to be
required for DXIL shaders, though not for TPF shaders. Since we only
intend to test ROVs here, we modify the shader to avoid the requirement,
instead of adding a r32g32b32a32-uint uav-load format requirement to the
test.
-
20306b2b
by Henri Verbeet at 2026-03-10T17:07:35+01:00
vkd3d-shader/spirv: Ignore VKD3DSGF_SKIP_OPTIMIZATION.
There's not much we can do about this here; if we did want to do
something about it, it would have to be in ir.c.
This occurs in the cs_vec4_load_code[] compute shader in
test_typed_buffer_uav() from tests/d3d12.c, which was compiled with the
/Od option.
-
770a869b
by Henri Verbeet at 2026-03-10T17:09:27+01:00
vkd3d-shader/spirv: Only warn about VKD3DSGF_ENABLE_MINIMUM_PRECISION.
-
5e9ac31b
by Henri Verbeet at 2026-03-10T17:09:28+01:00
vkd3d-shader/spirv: Ignore VKD3DSGF_ENABLE_VP_AND_RT_ARRAY_INDEX.
We implicitly handle this in spirv_compiler_decorate_builtin(), so we
don't need to do anything in spirv_compiler_emit_global_flags().
-
8f1d52b4
by Henri Verbeet at 2026-03-10T17:09:28+01:00
vkd3d-shader/spirv: Handle VKD3DSGF_ENABLE_RELAXED_TYPED_UAV_FORMATS.
-
2340b2c8
by Henri Verbeet at 2026-03-10T17:09:28+01:00
vkd3d-shader/spirv: Ignore VKD3DSGF_ENABLE_UAVS_AT_EVERY_STAGE.
SPIR-V doesn't need any special handling for this.
-
a95e2c66
by Henri Verbeet at 2026-03-10T17:09:28+01:00
vkd3d-shader/spirv: Ignore VKD3DSGF_ENABLE_RASTERIZER_ORDERED_VIEWS.
We already handle this using the "use_invocation_interlock" flag.
-
7bb26878
by Henri Verbeet at 2026-03-10T17:09:28+01:00
vkd3d-shader/spirv: Output errors for unhandled global flags.
We can't just ignore these, as they potentially change the required
behaviour.