glsl: add xfb qualifiers to has_layout helper
authorTimothy Arceri <timothy.arceri@collabora.com>
Fri, 22 Jan 2016 05:22:40 +0000 (16:22 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Thu, 31 Mar 2016 01:50:54 +0000 (12:50 +1100)
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/compiler/glsl/ast_type.cpp

index 9f0f578be862d13943e29bb03fc06eecfc7cfbdc..c3d38cbbf8afbc0221b20a7c3f3521b3cbb778d9 100644 (file)
@@ -79,7 +79,10 @@ ast_type_qualifier::has_layout() const
           || this->flags.q.explicit_index
           || this->flags.q.explicit_binding
           || this->flags.q.explicit_offset
-          || this->flags.q.explicit_stream;
+          || this->flags.q.explicit_stream
+          || this->flags.q.explicit_xfb_buffer
+          || this->flags.q.explicit_xfb_offset
+          || this->flags.q.explicit_xfb_stride;
 }
 
 bool