mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
da7c9694f1
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. |
||
---|---|---|
.. | ||
checksum.c | ||
d3d_asm.c | ||
d3dbc.c | ||
dxbc.c | ||
dxil.c | ||
fx.c | ||
glsl.c | ||
hlsl_codegen.c | ||
hlsl_constant_ops.c | ||
hlsl.c | ||
hlsl.h | ||
hlsl.l | ||
hlsl.y | ||
ir.c | ||
libvkd3d-shader.pc.in | ||
msl.c | ||
preproc.h | ||
preproc.l | ||
preproc.y | ||
spirv.c | ||
tpf.c | ||
vkd3d_shader_main.c | ||
vkd3d_shader_private.h | ||
vkd3d_shader.map |