From: Eric Anholt Date: Wed, 5 Aug 2015 00:18:43 +0000 (-0700) Subject: Revert "nir: Use a single bit for the dual-source blend index" X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=eae9c3286e2990879c6a01df3c9042b1e4031d5c;p=mesa.git 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. --- 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.