mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader: Add basic support for dcl_index_range.
We can address SPIR-V arrays dynamically. Signed-off-by: Józef Kucia <jkucia@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
committed by
Alexandre Julliard
parent
a248aced81
commit
b6de566e3a
@@ -619,8 +619,8 @@ static void shader_sm4_read_dcl_index_range(struct vkd3d_shader_instruction *ins
|
||||
struct vkd3d_sm4_data *priv)
|
||||
{
|
||||
shader_sm4_read_dst_param(priv, &tokens, &tokens[token_count], VKD3D_DATA_OPAQUE,
|
||||
&ins->declaration.index_range.first_register);
|
||||
ins->declaration.index_range.last_register = *tokens;
|
||||
&ins->declaration.index_range.dst);
|
||||
ins->declaration.index_range.register_count = *tokens;
|
||||
}
|
||||
|
||||
static void shader_sm4_read_dcl_output_topology(struct vkd3d_shader_instruction *ins,
|
||||
|
||||
Reference in New Issue
Block a user