Skip to content
Snippets Groups Projects
Commit 18583d7c authored by Niklas Haas's avatar Niklas Haas
Browse files

shaders: explicitly round some implicitly rounded floats

Across the boards, "output sizes" and so forth are assumed to be
integers, but a lot of the code generating them is based on floating
point math. To make it clear what happens, make things consistent by
using roundf() instead of implicit conversion (which may end up
truncating etc.).
parent 8f473413
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment