diff options
Diffstat (limited to 'src/glsl/ir.h')
-rw-r--r-- | src/glsl/ir.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/src/glsl/ir.h b/src/glsl/ir.h index 535693d9273..5032c2610fa 100644 --- a/src/glsl/ir.h +++ b/src/glsl/ir.h @@ -689,6 +689,15 @@ public: unsigned must_be_shader_input:1; /** + * 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. + */ + unsigned index:1; + + /** * \brief Layout qualifier for gl_FragDepth. * * This is not equal to \c ir_depth_layout_none if and only if this @@ -722,11 +731,6 @@ public: unsigned stream; /** - * output index for dual source blending. - */ - int index; - - /** * Initial binding point for a sampler, atomic, or UBO. * * For array types, this represents the binding point for the first element. |