From 6a9147b66bd0998d9b237d9d7938db88e3d73081 Mon Sep 17 00:00:00 2001 From: Giovanni Mascellani Date: Wed, 8 Oct 2025 21:46:36 +0200 Subject: [PATCH] vkd3d-shader/dxil: Rename "handler_idx" to "opcode" in sm6_parser_emit_dcl_count(). --- libs/vkd3d-shader/dxil.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/vkd3d-shader/dxil.c b/libs/vkd3d-shader/dxil.c index 95d1bbe96..6b02a1084 100644 --- a/libs/vkd3d-shader/dxil.c +++ b/libs/vkd3d-shader/dxil.c @@ -10124,11 +10124,11 @@ static enum vkd3d_result sm6_parser_emit_thread_group(struct sm6_parser *sm6, co return VKD3D_OK; } -static void sm6_parser_emit_dcl_count(struct sm6_parser *sm6, enum vkd3d_shader_opcode handler_idx, unsigned int count) +static void sm6_parser_emit_dcl_count(struct sm6_parser *dxil, enum vkd3d_shader_opcode opcode, unsigned int count) { struct vkd3d_shader_instruction *ins; - if (!(ins = sm6_parser_add_instruction(sm6, handler_idx))) + if (!(ins = sm6_parser_add_instruction(dxil, opcode))) return; ins->declaration.count = count; }