23 Nov
2023
23 Nov
'23
9:41 a.m.
Giovanni Mascellani (@giomasce) commented about libs/vkd3d-shader/hlsl_codegen.c:
* cannot easily vectorize the stores @3 and @6. */
-enum copy_propagation_value_state -{ - VALUE_STATE_NOT_WRITTEN = 0, - VALUE_STATE_STATICALLY_WRITTEN, - VALUE_STATE_DYNAMICALLY_WRITTEN, -}; - struct copy_propagation_value { - enum copy_propagation_value_state state; + unsigned int timestamp; + bool statically_written; It seems as if `statically_written` could be assumed to be `!!node`, so you have one fewer consistency rule to enforce.
-- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/487#note_53494