On 14 November 2014 20:41, Roland Scheidegger <srol...@vmware.com> wrote: > That looks quite ok to me. Slightly suboptimal maybe but quite > reasonable - you can't really expect "optimal" code always. (With the > proposal to nuke cnd from tgsi though you'd just generate the same in > any case probably.) > I suspect the bunch of int/float conversions got away when switching > comparison operation stuff in glsl to tgsi translation to using ints > ones on hardware which supports integers (a year ago or so). I know this > made some tgsi look a bit nicer but I don't know the effects this had on > backends (which also probably learned some new tricks since then). > Yeah, pretty much.
I haven't seen anything particularly bad recently, but that could just be because I haven't been actively looking. _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev