vkd3d-shader/ir: Remove VKD3DSIH_DCL instructions.

This commit is contained in:
Henri Verbeet 2024-05-04 19:03:48 +02:00
parent 240d31c793
commit fffe521b80
Notes: Henri Verbeet 2024-07-30 16:37:33 +02:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Henri Verbeet (@hverbeet)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/968
2 changed files with 1 additions and 1 deletions

View File

@ -469,6 +469,7 @@ static enum vkd3d_result vsir_program_lower_instructions(struct vsir_program *pr
return ret; return ret;
break; break;
case VKD3DSIH_DCL:
case VKD3DSIH_DCL_CONSTANT_BUFFER: case VKD3DSIH_DCL_CONSTANT_BUFFER:
case VKD3DSIH_DCL_TEMPS: case VKD3DSIH_DCL_TEMPS:
vkd3d_shader_instruction_make_nop(ins); vkd3d_shader_instruction_make_nop(ins);

View File

@ -10473,7 +10473,6 @@ static int spirv_compiler_handle_instruction(struct spirv_compiler *compiler,
case VKD3DSIH_WAVE_READ_LANE_FIRST: case VKD3DSIH_WAVE_READ_LANE_FIRST:
spirv_compiler_emit_wave_read_lane_first(compiler, instruction); spirv_compiler_emit_wave_read_lane_first(compiler, instruction);
break; break;
case VKD3DSIH_DCL:
case VKD3DSIH_DCL_HS_MAX_TESSFACTOR: case VKD3DSIH_DCL_HS_MAX_TESSFACTOR:
case VKD3DSIH_DCL_INPUT_CONTROL_POINT_COUNT: case VKD3DSIH_DCL_INPUT_CONTROL_POINT_COUNT:
case VKD3DSIH_DCL_INPUT_SGV: case VKD3DSIH_DCL_INPUT_SGV: