diff options
author | Kenneth Graunke <kenneth@whitecape.org> | 2016-03-14 14:22:39 -0700 |
---|---|---|
committer | Dylan Baker <baker.dylan.c@gmail.com> | 2016-03-28 16:28:20 -0700 |
commit | d4642e8ac5026de1f7f00ab7389ab09bd070b5fa (patch) | |
tree | 69b291cce8cfbdf1e6be52a1172a165683f58bab /.travis.yml | |
parent | 91a5e34a170d0e14372c6f2d8dab5e2b0244e468 (diff) |
i965: Fix gl_TessLevelOuter[] for isolines.11.2-next
Thanks to James Legg for finding this!
From the ARB_tessellation_shader spec:
"The number of isolines generated is derived from the first outer
tessellation level; the number of segments in each isoline is
derived from the second outer tessellation level."
According to the PRM, "TF.LineDensity determines # lines" while
"TF.LineDetail determines # segments". Line Density is stored at
DWord 6, while Line Detail is at DWord 7. So, they're not reversed
like they are for triangles and quads.
Fixes Piglit's spec/arb_tessellation_shader/execution/isoline,
and about 24 dEQP isoline tests (with GL_EXT_tessellation_shader
hacked on - it's not normally enabled).
Cc: mesa-stable@lists.freedesktop.org
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94524
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
(cherry picked from commit 5b2d8c2273c6f48e764a1386240ec674cb4aa4ad)
Diffstat (limited to '.travis.yml')
0 files changed, 0 insertions, 0 deletions