swr: [rasterizer core] track whether GS outputs viewport array index

So we can skip the index gather in PA.

Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
This commit is contained in:
Tim Rowley 2016-06-14 10:25:02 -06:00
parent 2d80295a6e
commit 35935ca4f2
1 changed files with 3 additions and 0 deletions

View File

@ -676,6 +676,9 @@ struct SWR_GS_STATE
// geometry shader emits PrimitiveID
bool emitsPrimitiveID;
// geometry shader emits ViewportArrayIndex
bool emitsViewportArrayIndex;
// if true, geometry shader emits a single stream, with separate cut buffer.
// if false, geometry shader emits vertices for multiple streams to the stream buffer, with a separate StreamID buffer
// to map vertices to streams