Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
account42
11 months ago
|
parent
|
context
|
favorite
| on:
Don't "optimize" conditional moves in shaders with...
Fragment and vertex shaders generally don't target strict IEEE754 compliance by default. Transforming a * (b ? 1.0 : 0.0) into b ? a : 0.0 is absolutely something you can expect a shader compiler to do - that only requires assuming a is not NaN.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: