From f4f2617584dd808ce2b107d8060e1804152411c1 Mon Sep 17 00:00:00 2001 From: Giovanni Mascellani Date: Tue, 13 May 2025 11:17:39 +0200 Subject: [PATCH] vkd3d-shader/dxil: Rewrite sm6_value_is_ssa() in terms of the value type. --- libs/vkd3d-shader/dxil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/vkd3d-shader/dxil.c b/libs/vkd3d-shader/dxil.c index cdb032969..f8445b60e 100644 --- a/libs/vkd3d-shader/dxil.c +++ b/libs/vkd3d-shader/dxil.c @@ -2334,7 +2334,7 @@ static bool sm6_value_is_data(const struct sm6_value *value) static bool sm6_value_is_ssa(const struct sm6_value *value) { - return sm6_value_is_register(value) && register_is_ssa(&value->reg); + return value->value_type == VALUE_TYPE_SSA; } static bool sm6_value_is_numeric_array(const struct sm6_value *value)