vkd3d-shader/dxil: Do not set the value type in sm6_parser_declare_global().

It is rewritten in all branches.
This commit is contained in:
Giovanni Mascellani
2025-05-13 10:59:27 +02:00
committed by Henri Verbeet
parent 00b3fb96d9
commit 0e406cf0a8
Notes: Henri Verbeet 2025-06-05 16:19:21 +02:00
Approved-by: Henri Verbeet (@hverbeet)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1539

View File

@@ -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)