Bug 48052

Summary: [softpipe] depth-cube-map fails
Product: Mesa Reporter: morgan.devel
Component: Drivers/Gallium/softpipeAssignee: mesa-dev
Status: NEW --- QA Contact:
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
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.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.