HNHacker News
TopNewBestAskShowJobs

toredo1729_2

8 karma · joined February 9, 2025

submissionscomments
toredo1729_2··on The US dollar is on track for its worst year in modern history
Debt reduction by 7%.
toredo1729_2··on The True Size Of
Haha, same here
toredo1729_2··on Don't "optimize" conditional moves in shaders with mix()+step()
Yes, that would be great. It's not always benefical, but in some (rare, but for me important) cases it's better. Currently, the only way to ensure a conditional move is used, is to use inline assembly. This is not portable and also less maintainable than a "proper" solution.
toredo1729_2··on Don't "optimize" conditional moves in shaders with mix()+step()
Unrelated, but somehow similar: I really hate it that it's not possible to force gcc to transform things like this into a conditional move:

x > c ? y : 0.;

It annoyed me many times and it still does.