[Mesa-dev] llvmpipe vs fbo-alphatest-formats
airlied at gmail.com
Fri Dec 30 02:58:23 PST 2011
> was doing some piglit comparisons between softpipe and llvmpipe and
> noticed the fbo-alphatest-formats test fails on llvmpipe for all the
> I8 formats.
> Now I looked at the code generated for
> lp_tile_soa.c:lp_tile_i8_unorm_unswizzle_4ub and it references a[i+0]
> and a[i+1], if I change it to reference r[i + 0] and r[i + 1] the
> tests all pass, I suspect of course this code is reading off the end
> of the array for an I8_UNORM, but I'm not really sure what it expects
> to happen in this case.
> Maybe someone can take a look and let me know what the intentions were
Okay this fixes it here, and even seems reasonable to me.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1163 bytes
Desc: not available
More information about the mesa-dev