glsl: During linking, record whether a GS uses EndPrimitive().
authorPaul Berry <stereotype441@gmail.com>
Mon, 19 Aug 2013 03:59:37 +0000 (20:59 -0700)
committerPaul Berry <stereotype441@gmail.com>
Wed, 11 Sep 2013 18:16:35 +0000 (11:16 -0700)
commit1a33e0233ad5bfd0b7f62ae25811532c5784653f
treee6c63931eb027db76b12fee797285353368db246
parent79d9c6b7ffe32c146835d27431a66aaf413836fd
glsl: During linking, record whether a GS uses EndPrimitive().

This information will be useful in the i965 back end, since we can
save some compilation effort if we know from the outset that the
shader never calls EndPrimitive().

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/linker.cpp
src/mesa/main/mtypes.h
src/mesa/main/shaderapi.c