News for hackers. Stuff that matters.
Re:Don't "optimize" conditional moves in shaders with mix()+... by chrisjj on Sunday February 16, 2025 @06:31AM (#43067276)
> Originally I said "the premise is that any difference breaks the code".

> You replied with "Not any."

> That is where the requirement comes from, your own words.

I wasn't stating a requirement. I was disputing your report of the premise.

> or are we talking about code where there are minor changes that don't break it but using extra precision breaks it?

Yup.

Re:Don't "optimize" conditional moves in shaders with mix()+... by Dylan16807 on Tuesday February 18, 2025 @10:04PM (#43098100)
> > or are we talking about code where there are minor changes that don't break it but using extra precision breaks it?

> Yup

Then I will ask again, have you ever seen code that falls into this category? I haven't. And an RNG would not fall into this category.