Jason Ekstrand <ja...@jlekstrand.net> writes: > I've got a patch I cooked up today that generalizes this a bit. I haven't > sent it yet because it lacks shader-db statistics. That said, I'm fine > with merging this in the mean time.
Not sure what generalization you're working on, but something that let me have "any sort of bool" as an expression node, and that "and(flt(a, b), flt(c, d))" was recognized as a bool would be nice for some of these patterns. I was wondering if band/bor operations that were only defined on bool arguments would be a good idea (even though they'd codegen just like normal iand/ior), but then I got to thinking that this sounds like just a specific case of generally wanting possible-value categorization for SSA nodes.
signature.asc
Description: PGP signature
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev