diff options
author | Jonathan Marek <[email protected]> | 2018-11-12 13:08:50 -0500 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2019-01-11 19:16:11 +0000 |
commit | d3b47e073e002a01261dacf11e04e37b812736e6 (patch) | |
tree | 71a1874fd12cf91ff755b58d06cccb6e9cc41380 /doxygen/math.doxy | |
parent | 1ede463b6e66eb0a6df5250261810b6985c35eb9 (diff) |
glsl/nir: int constants as float for native_integers=false
All alu instructions emitted with native_integers=false expect float
(or bool in some cases) constants, so this change is necessary.
This will cause changes with some intrinsics which had integer sources,
such as nir_intrinsic_load_uniform. Apparently it might cause issues with
some opt passes, but perhaps those don't apply in OpenGL ES 2.0 cases?
Signed-off-by: Jonathan Marek <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'doxygen/math.doxy')
0 files changed, 0 insertions, 0 deletions