nir: add streams to nir data

This will be used by gallium drivers.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
Timothy Arceri
2017-11-07 13:56:08 +11:00
parent 3a71eac783
commit 8c9f3f2c46
2 changed files with 9 additions and 0 deletions

View File

@@ -274,6 +274,14 @@ typedef struct nir_variable {
*/
unsigned int driver_location;
/**
* Vertex stream output identifier.
*
* For packed outputs, bit 31 is set and bits [2*i+1,2*i] indicate the
* stream of the i-th component.
*/
unsigned stream;
/**
* output index for dual source blending.
*/