[Mesa-dev] [RFH PATCH] r600g: broken attempt to fix glsl-fs-shader-stencil-export

Dave Airlie airlied at gmail.com
Thu Jul 21 09:35:30 PDT 2011


> I've been hacking around trying to make this test work and discovered
> writing some bits up at bit 16 of the exported word seems to act like
> some sort of mask. However I've no idea what this is or why this fixes
> this test. However it breaks the stencilreaddraw test in mesa-demos, which
> means its not entirely correct. My current trend is to blame some float vs
> int mixup somewhere, otherwise I'm pretty lost.
>
> Maybe AMD guys could take a look when they resurface.

btw I've also realised that this extension probably needs GLSL 1.30
(doesn't everything), as it uses a int return from the shader.

Dave.


More information about the mesa-dev mailing list