mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader/dxil: Rewrite sm6_value_is_ssa() in terms of the value type.
This commit is contained in:
committed by
Henri Verbeet
parent
361ecd6cf5
commit
f4f2617584
Notes:
Henri Verbeet
2025-06-10 18:06:02 +02:00
Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1546
@@ -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)
|
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)
|
static bool sm6_value_is_numeric_array(const struct sm6_value *value)
|
||||||
|
Reference in New Issue
Block a user