summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2015-08-04 17:18:43 -0700
committerEric Anholt <[email protected]>2015-08-04 17:19:01 -0700
commiteae9c3286e2990879c6a01df3c9042b1e4031d5c (patch)
treef0a405c923b583123d668d5866919036427ba57e
parentd6d7515bec2e7421dcbc17f31f94613643599e33 (diff)
Revert "nir: Use a single bit for the dual-source blend index"
This reverts commit ab5b7a0fe659ff6f9c1885d5cb047b6531959506. We use more than one bit of value in tgsi_to_nir.
-rw-r--r--src/glsl/nir/nir.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/glsl/nir/nir.h b/src/glsl/nir/nir.h
index d9daaa2e7e2..0603b3eec67 100644
--- a/src/glsl/nir/nir.h
+++ b/src/glsl/nir/nir.h
@@ -292,13 +292,9 @@ typedef struct {
unsigned int driver_location;
/**
- * Output index for dual source blending.
- *
- * \note
- * The GLSL spec only allows the values 0 or 1 for the index in \b dual
- * source blending.
+ * output index for dual source blending.
*/
- unsigned index:1;
+ int index;
/**
* Initial binding point for a sampler or UBO.