[Mesa-dev] llvmpipe vs fbo-alphatest-formats

Dave Airlie airlied at gmail.com
Thu Dec 29 10:37:00 PST 2011


Hi guys,

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
originally.

Dave.


More information about the mesa-dev mailing list