[Bug 78679] Gen4-5 code lost: runtime_check_aads_emit

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue May 27 02:13:41 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=78679

--- Comment #18 from Iago Toral <itoral at igalia.com> ---
(In reply to comment #17)
> (In reply to comment #16)
> > (In reply to comment #13)
> > Could you try the following?
> > 
> > 1. Disable AA only: Remove glEnable(GL_LINE_SMOOTH)
> > 2. Disable blending only: remove glEnable(GL_BLEND)
> > 3. Disable AA and blending
> > 4. Do 1-3 again but removing also glPolygonMode(GL_FRONT, GL_LINE)
> 
> 0. Patched (original): Upper edges interpolate, back face is blue.

In ironlake only one of the upper edges interpolates, back face is properly
interpolated.

> 1. Disable AA only: No interpolation for upper edges, they are blue as the
> back face.

Same in ironlake, except for the back face that is interpolated.

> 2. Disable blending only: Same as 0 (has no effect).
> 
> 3. Disable AA and blending: Same as 1.

Same as ironlake (in the sense that they don't seem to affect the results
obtained in 0 and 1 respectively)

> 4. Disable line front: Interpolates correctly on both sides independent of
> other settings.

Interesting, looks like the flat rendering of the back face in Gen4 is
unaffected by AA and is only related to the selected polygon modes.

> Also
> 
> 5. Enable line front and back: Same as 1 for both sides.
> 
> 6. Disable line front, enable line back: Front face is blue, shorter upper
> edge is blue, longer upper edge still interpolates.

Based on these results there are two issues:

1) In gen4-5: wrong color interpolation of the GL_LINE face of the polygons.
2) In gen4: wrong color interpolation of the GL_FILL face of the polygon when
the other face is GL_LINE.

These issues seem to exist with and without AA settings in general and seem to
be related mostly with the polygon modes.

With this info I think I'll send the patches to the mailing list for review
since they seem to fix some problems and we should probably leave this bug open
to track the remaining problems (or maybe open a new bug since I don't know if
these issues existed before 098acf6c84333edbb7b1228545e4bdb2572ee0cd too).

Thanks Sergej, that was useful.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20140527/59c878a0/attachment.html>


More information about the intel-3d-bugs mailing list