mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
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:
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
@@ -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 = sm6_parser_get_current_value(sm6);
|
||||||
dst->type = type;
|
dst->type = type;
|
||||||
dst->value_type = VALUE_TYPE_REG;
|
|
||||||
dst->is_back_ref = true;
|
dst->is_back_ref = true;
|
||||||
|
|
||||||
if (is_constant && !init)
|
if (is_constant && !init)
|
||||||
|
Reference in New Issue
Block a user