struct ir_instruction *
_mesa_ast_field_selection_to_hir(const ast_expression *expr,
- simple_node *instructions,
+ exec_list *instructions,
struct _mesa_glsl_parse_state *state)
{
ir_instruction *op;
* 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)) {