[Mesa-dev] [RFC]: gallium: add new float comparison opcodes returning integer booleans

Zack Rusin zackr at vmware.com
Fri Aug 9 12:16:39 PDT 2013


----- Original Message -----
> This is a proposal for new comparison instructions, as the old ones
> don't really fit modern (graphic or opencl I guess for that matter)
> languages well.
> If you've got objections, think the naming is crazy or whatnot I'm open
> for suggestions :-). I would think this is not just a much better fit
> for d3d10/glsl but for hw as well.

Yea, that makes sense to me. Comparison instructions should return consistent results across types. I'd just add a line or so to the docs to make it explicit how they're different from the old opcodes, I expect that for people new to gallium it's going to be easy to miss.

z


More information about the mesa-dev mailing list