On Wed May 31 23:27:10 2023 +0000, Francisco Casas wrote:
`int` arguments (and I suspect, any scalar) are also allowed, such as in this shader:
Texture1D t; float4 main() : sv_target { float p; int q; t.GetDimensions(1.2, p, q); return p + q; }
Perhaps we should just work with floats, just validate that the argument is scalar, and add an implicit conversion in add_assignment_from_component(), to `dest->data_type`. If we do this, we wouldn't be using the `_uint` instruction modifier though.
I see. It's easy to keep _uint case, I'm going to do that.