vkd3d-proton/libs/vkd3d-shader
Hans-Kristian Arntzen 7a002698f3 vkd3d-shader: Prefer InBounds access chains for root descriptors.
Gets better codegen, since compiler no longer has to assume
that negative indices can be generated, which means full 64-bit sign
extension and addressing math (slow).

Based on experiments, no native driver lets -1 indices work,
so it's safe to make the u32 assumption.

See test_root_descriptor_offset_sign as a justification for this change.

Also, see https://gitlab.freedesktop.org/mesa/mesa/-/issues/6562
for discussion on InBounds.

Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
2022-06-01 15:31:38 +02:00
..
checksum.c debug: Re-introduce different debug channels. 2020-07-10 14:18:15 +02:00
dxbc.c vkd3d-shader: Add helper to parse output signature. 2021-09-16 16:57:28 +02:00
dxil.c vkd3d-shader: Enable native 16-bit path for min16float DXIL. 2022-06-01 15:31:22 +02:00
meson.build meta: Add missing newlines to end of files 2020-11-05 17:16:57 +01:00
spirv.c vkd3d-shader: Prefer InBounds access chains for root descriptors. 2022-06-01 15:31:38 +02:00
trace.c vkd3d-shader: Implement 64-bit immediate constants 2020-10-23 12:40:38 +02:00
vkd3d_shader_main.c Use Windows specific environment calls for better Windows compatibility. 2022-04-22 17:40:21 +02:00
vkd3d_shader_private.h vkd3d-shader: Make vkd3d_shader_hash public. 2022-01-25 14:07:07 +01:00