glsl/linker: check for xfb_offset aliasing
[mesa.git] / src / compiler / glsl / ast_function.cpp
index 2be7a8c195d72f8fd607f617f02fd43c6a0f8834..6bd8987cd9b7e173d6b7f4dbc8f49c5da291e722 100644 (file)
@@ -2118,7 +2118,7 @@ ast_function_expression::hir(exec_list *instructions,
        * must have the exact number of arguments with matching types in the
        * correct order.
        */
-      if (constructor_type->is_record()) {
+      if (constructor_type->is_struct()) {
          return process_record_constructor(instructions, constructor_type,
                                            &loc, &this->expressions,
                                            state);
@@ -2458,7 +2458,7 @@ ast_aggregate_initializer::hir(exec_list *instructions,
                                        &this->expressions, state);
    }
 
-   if (constructor_type->is_record()) {
+   if (constructor_type->is_struct()) {
       return process_record_constructor(instructions, constructor_type, &loc,
                                         &this->expressions, state);
    }