summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/ast_type.cpp
diff options
context:
space:
mode:
authorTimothy Arceri <timothy.arceri@collabora.com>2016-01-22 16:22:40 +1100
committerTimothy Arceri <timothy.arceri@collabora.com>2016-03-31 12:50:54 +1100
commit4a873ef049bce855e8b5f254d428956de8ce45f8 (patch)
tree1748fbee6492180a5293705d92adae4426443541 /src/compiler/glsl/ast_type.cpp
parent598790e8564280b8f3f105c0ff6de9fff4d45e30 (diff)
downloadexternal_mesa3d-4a873ef049bce855e8b5f254d428956de8ce45f8.zip
external_mesa3d-4a873ef049bce855e8b5f254d428956de8ce45f8.tar.gz
external_mesa3d-4a873ef049bce855e8b5f254d428956de8ce45f8.tar.bz2
glsl: add xfb qualifiers to has_layout helper
Reviewed-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/compiler/glsl/ast_type.cpp')
-rw-r--r--src/compiler/glsl/ast_type.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/compiler/glsl/ast_type.cpp b/src/compiler/glsl/ast_type.cpp
index 9f0f578..c3d38cb 100644
--- a/src/compiler/glsl/ast_type.cpp
+++ b/src/compiler/glsl/ast_type.cpp
@@ -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