Revert "nir: Use a single bit for the dual-source blend index"
authorEric Anholt <eric@anholt.net>
Wed, 5 Aug 2015 00:18:43 +0000 (17:18 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 5 Aug 2015 00:19:01 +0000 (17:19 -0700)
This reverts commit ab5b7a0fe659ff6f9c1885d5cb047b6531959506.  We use more
than one bit of value in tgsi_to_nir.

src/glsl/nir/nir.h

index d9daaa2e7e2e19cc6d62e549e98eb86d38a3bca4..0603b3eec67ecf7153a38f3dd54414c303a5f8f8 100644 (file)
@@ -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.