On Wed Apr 19 16:53:43 2023 +0000, Henri Verbeet wrote:
Unfortunately this introduces some warnings as-is, because hlsl_new_float_constant() and hlsl_new_bool_constant() return hlsl_ir_node pointers after commits 1bf3aa927530c7ff43ed07638f2fbda06c8ad25b and dc7514afc9f7e945b8693ef65e27d035fee1495d.
Woops, didn't realize the conflicting patch had made it in, thought it would be a hard merge conflict :sweat_smile:
Patch updated for the new constant return values.