summaryrefslogtreecommitdiff
path: root/hir_field_selection.cpp
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2010-03-09 15:55:16 -0800
committerIan Romanick <ian.d.romanick@intel.com>2010-03-09 15:55:16 -0800
commita2dd22fb194bdffa14a2466ae5667f3be63430d3 (patch)
treec3515c48efddadc8d7b83a0951bca4ea48c95d2e /hir_field_selection.cpp
parentcb36f8aaeeb09660843316270a781948f773d90b (diff)
Convert is_glsl_type_vector to glsl_type::is_vector
Diffstat (limited to 'hir_field_selection.cpp')
-rw-r--r--hir_field_selection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/hir_field_selection.cpp b/hir_field_selection.cpp
index 326a10543f..8bef094c60 100644
--- a/hir_field_selection.cpp
+++ b/hir_field_selection.cpp
@@ -156,7 +156,7 @@ _mesa_ast_field_selection_to_hir(const ast_expression *expr,
* being applied.
*/
loc = expr->get_location();
- if (is_glsl_type_vector(op->type)) {
+ if (op->type->is_vector()) {
if (generate_swizzle(expr->primary_expression.identifier,
& deref->selector.swizzle,
op->type->vector_elements)) {