Bug 48052 - [softpipe] depth-cube-map fails
Summary: [softpipe] depth-cube-map fails
Status: NEW
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/softpipe (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-29 09:02 UTC by morgan.devel
Modified: 2018-04-13 09:51 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.