Giovanni Mascellani (@giomasce) commented about libs/vkd3d-shader/dxil.c:
return register_get_uint_value(&value->u.reg);
}
+static uint64_t sm6_value_get_constant_uint64(const struct sm6_value *value) +{
- if (!sm6_value_is_constant(value))
return UINT_MAX;
You might want to return `UINT64_MAX` here.