diff options
author | Ian Romanick <ian.d.romanick@intel.com> | 2010-03-09 15:55:16 -0800 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2010-03-09 15:55:16 -0800 |
commit | a2dd22fb194bdffa14a2466ae5667f3be63430d3 (patch) | |
tree | c3515c48efddadc8d7b83a0951bca4ea48c95d2e /hir_field_selection.cpp | |
parent | cb36f8aaeeb09660843316270a781948f773d90b (diff) |
Convert is_glsl_type_vector to glsl_type::is_vector
Diffstat (limited to 'hir_field_selection.cpp')
-rw-r--r-- | hir_field_selection.cpp | 2 |
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)) { |