forked from joejulian/gio
gpu/shaders: be more robust against floating point inaccuracies
We're forced by compatibility to encode an integer state into a floating point. Make the implicit conversion from floating point to integer more robust against GPUs with low precision floats. Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
+7
-7
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user