[Mesa-dev] [PATCH 01/16] glsl/nir: int constants as float for native_integers=false
Eric Anholt
eric at anholt.net
Wed Dec 19 18:22:04 UTC 2018
Jonathan Marek <jonathan at marek.ca> writes:
> Note: the backend must take care that uniform index is now a float
This makes me think that lowering ints to float should be done near the
end of the compile (followed by maybe an algebraic and a dce). As is, I
think nir_lower_io() is going to do bad things to dereferences of i/o
arrays.
That said, it looks like this will be fixing way more than it regresses,
so I would go along with it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20181219/a7e9f68c/attachment.sig>
More information about the mesa-dev
mailing list