mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-05 17:35:36 +00:00
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