[Mesa-dev] mishandling of bool comparisons in GLSL-TGSI translator

2012-10-15 Thread Brian Paul
Jose found a problem in the GLSL-TGSI translater with respect to boolean array comparisions when PIPE_SHADER_CAP_INTEGERS=1. I dug into it a bit. The attached shader_runner case shows the issue. Basically, the comparison of boolean values (which are unsigned integers) winds up being done

Re: [Mesa-dev] mishandling of bool comparisons in GLSL-TGSI translator

2012-10-15 Thread Bryan Cain
Hi. I'm still around to some extent, although I still need to submit the changes to the ML for my geometry shader work from a couple of months ago. I don't have much free time anymore, but I'll try to take a look at this soon. -Bryan On 10/15/2012 03:35 PM, Brian Paul wrote: Jose found a