diff options
author | Timothy Arceri <[email protected]> | 2017-11-07 13:56:08 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-11-12 11:08:26 +1100 |
commit | 8c9f3f2c46653a94be9ded38763f81da20183e08 (patch) | |
tree | 7db420004c659a2c3fd4ae5638d483f1062c4bb4 /src/compiler/nir | |
parent | 3a71eac783ea5a1c16772f8ec91c4a01ca32504d (diff) |
nir: add streams to nir data
This will be used by gallium drivers.
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/compiler/nir')
-rw-r--r-- | src/compiler/nir/nir.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h index 6d28a8b3223..c055d300b66 100644 --- a/src/compiler/nir/nir.h +++ b/src/compiler/nir/nir.h @@ -275,6 +275,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. */ int index; |