Bug 73915

Summary: sample shading + centroid broken since f5cfb4a
Product: Mesa Reporter: Markus Wick <wickmarkus>
Component: Drivers/DRI/i965Assignee: Ian Romanick <idr>
Status: RESOLVED FIXED QA Contact: Intel 3D Bugs Mailing List <intel-3d-bugs>
Severity: normal    
Priority: medium CC: anuj.phogat
Version: git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
i915 platform: i915 features:
Attachments: apitrace dump of this issue

Description Markus Wick 2014-01-22 07:11:33 UTC
Created attachment 92566 [details]
apitrace dump of this issue

The commit f5cfb4a is supposed to ignore the centroid flag, but it doesn't interpolate correctly when centroid is set.

f5cfb4a: http://goo.gl/rvjy3V
10.0.1:  http://goo.gl/dICRn6
nvidia:  http://goo.gl/glaeYv

Without the centroid flag, rendering is now fine, thank you :)
Comment 1 Anuj Phogat 2014-01-23 00:56:51 UTC
Posted a patch on mesa-dev mailing list to fix this issue:
[PATCH] i965: Ignore 'centroid' interpolation qualifier in case of persample shading

Please verify the fix.
Comment 2 Markus Wick 2014-01-23 11:36:00 UTC
This diff fixes my issue and the game now look much nicer. Thank you
Comment 3 Markus Wick 2014-01-28 21:50:44 UTC
fixed by dc2f94bc786768329973403248820a2e5249f102

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.