[Piglit] [PATCH] Add an SSO test which mix-and-matches TCS/TES with different interfaces.
Timothy Arceri
t_arceri at yahoo.com.au
Tue Dec 22 14:16:02 PST 2015
On Mon, 2015-12-21 at 20:12 -0800, Kenneth Graunke wrote:
> On i965, the TCS writes a memory location which the TES reads. Both
> shader stages need to agree upon the layout. With SSO, this is
> tricky,
> as OpenGL allows developers to freely mix-and-match separate TCS and
> TES
> programs that have never been linked together.
>
> To test this, we compile two TCS programs with different outputs, and
> create SSO pipelines that use them with the same TES. A layout
> determined by the TES alone would not suffice, so this ensures that
> the layout is updated when the TCS changes.
>
> Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
Seems reasonable.
Reviewed-by: Timothy Arceri <timothy.arceri at collabora.com>
More information about the Piglit
mailing list