[Mesa-dev] [PATCH 15/37] glsl: add xfb qualifiers to has_layout helper
Timothy Arceri
timothy.arceri at collabora.com
Tue Mar 15 12:57:05 UTC 2016
---
src/compiler/glsl/ast_type.cpp | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/compiler/glsl/ast_type.cpp b/src/compiler/glsl/ast_type.cpp
index 611f048..593d8a9 100644
--- a/src/compiler/glsl/ast_type.cpp
+++ b/src/compiler/glsl/ast_type.cpp
@@ -80,7 +80,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
--
2.5.0
More information about the mesa-dev
mailing list