From 0e406cf0a8253860ca3caf55d510c88bafa18538 Mon Sep 17 00:00:00 2001 From: Giovanni Mascellani Date: Tue, 13 May 2025 10:59:27 +0200 Subject: [PATCH] vkd3d-shader/dxil: Do not set the value type in sm6_parser_declare_global(). It is rewritten in all branches. --- libs/vkd3d-shader/dxil.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libs/vkd3d-shader/dxil.c b/libs/vkd3d-shader/dxil.c index 802708ee0..5a9c8a1bd 100644 --- a/libs/vkd3d-shader/dxil.c +++ b/libs/vkd3d-shader/dxil.c @@ -3746,7 +3746,6 @@ static bool sm6_parser_declare_global(struct sm6_parser *sm6, const struct dxil_ dst = sm6_parser_get_current_value(sm6); dst->type = type; - dst->value_type = VALUE_TYPE_REG; dst->is_back_ref = true; if (is_constant && !init)