|Summary:||[softpipe] depth-cube-map fails|
|Status:||NEW ---||QA Contact:|
|i915 platform:||i915 features:|
Description morgan.devel 2012-03-29 09:02:40 UTC
I took some time to look after this bug. The problem seems to come from the sample_cube function in sp_tex_sample.c, when the face of the cube map is determined using the four pixel's texcoords average. At the edges of the current rasterized primitive, some pixels may not be part of the primitive (ie. masked), leading to an incorrect average and therefore an incorrect face selection.