[Mesa-dev] [PATCH] i965: Fix gl_TessLevelOuter[] for isolines.

Kenneth Graunke kenneth at whitecape.org
Mon Mar 14 22:03:11 UTC 2016


On Monday, March 14, 2016 3:00:06 PM PDT Kenneth Graunke wrote:
> 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.

I forgot to add this to the commit message:

    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).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160314/3569c74e/attachment.sig>


More information about the mesa-dev mailing list