vkd3d/libs/vkd3d-shader
Giovanni Mascellani da7c9694f1 vkd3d-shader/dxil: Emit SAMPLER, UAV and RESOURCE registers with only 2 indices.
DXIL handles are used to represent descriptors. Currently they are
translated to registers of the appropriate type (depending on the
descriptor type) and three indices. The first two indices are used
to represent the descriptor itself (through its signature and array
index), and are filled when the handle itself is created. The last
index is used with constant buffers to address the data inside the
buffer itself, and it goes unused with other descriptor types.

As currently implemented, however, registers for descriptors other
than constant buffers are still created with three indices, even if
the last one is useless and set to -1. In the interest of creating
more sensible VSIR code, this is now removed: DXIL handles are
created with just two indices; a third one is added when accessing
constant buffers, and nothing is changed for other descriptor types.
2024-10-03 19:08:33 +02:00
..
checksum.c vkd3d-shader: Use a hash to build the filename when dumping shaders. 2024-08-29 19:14:27 +02:00
d3d_asm.c vkd3d-shader/d3d-asm: Dump all indices when tracing VSIR code. 2024-09-30 20:22:53 +02:00
d3dbc.c vkd3d-shader/d3dbc: Do not emit indices for DEPTHOUT registers. 2024-10-02 22:11:48 +02:00
dxbc.c vkd3d-shader: Use a hash to build the filename when dumping shaders. 2024-08-29 19:14:27 +02:00
dxil.c vkd3d-shader/dxil: Emit SAMPLER, UAV and RESOURCE registers with only 2 indices. 2024-10-03 19:08:33 +02:00
fx.c vkd3d-shader/fx: Implement writing fx_2_0 object initializer data sections. 2024-10-02 22:17:41 +02:00
glsl.c vkd3d-shader/glsl: Implement VKD3DSIH_USHR. 2024-10-02 22:30:58 +02:00
hlsl_codegen.c vkd3d-shader/hlsl: Parse sampler_state. 2024-10-02 22:07:34 +02:00
hlsl_constant_ops.c vkd3d-shader/hlsl: Fold logic AND and logic OR identities. 2024-09-03 15:11:16 +02:00
hlsl.c vkd3d-shader/hlsl: Free static initializers after functions. 2024-10-03 17:47:26 +02:00
hlsl.h vkd3d-shader/hlsl: Parse sampler_state. 2024-10-02 22:07:34 +02:00
hlsl.l vkd3d-shader/hlsl: Remove the 'double' keyword. 2024-09-23 15:26:35 +02:00
hlsl.y vkd3d-shader/hlsl: Handle error expressions in method calls. 2024-10-03 17:47:26 +02:00
ir.c vkd3d-shader/ir: Validate index count for MISCTYPE registers. 2024-10-02 22:12:47 +02:00
libvkd3d-shader.pc.in build: Build libvkd3d-shader as public library. 2018-11-02 11:19:00 +01:00
msl.c vkd3d-shader/msl: Implement support for VKD3DSPR_TEMP registers. 2024-09-24 13:56:11 +02:00
preproc.h vkd3d-shader: Replace assert() with VKD3D_ASSERT() in preproc.h. 2024-08-05 15:57:56 +02:00
preproc.l vkd3d-shader/preproc: Support namespaces in macro identifiers. 2024-09-24 13:17:24 +02:00
preproc.y vkd3d-shader: Replace assert() with VKD3D_ASSERT() in preproc.y. 2024-08-05 15:57:56 +02:00
spirv.c vkd3d-shader/spirv: Handle all possible destination modifiers. 2024-10-02 22:31:50 +02:00
tpf.c vkd3d-shader/hlsl: Move default values indexing fixup to the tpf writer stage. 2024-10-01 17:27:12 +02:00
vkd3d_shader_main.c vkd3d-shader/glsl: Implement support for VKD3DSPR_CONSTBUFFER registers. 2024-09-19 14:29:46 +02:00
vkd3d_shader_private.h vkd3d-shader/hlsl: Parse sampler_state. 2024-10-02 22:07:34 +02:00
vkd3d_shader.map vkd3d-shader: Implement scanning combined resource/sampler information. 2023-11-13 23:19:23 +01:00