Lines Matching refs:yyval
2400 YYSTYPE yyval;
2633 yyval = yyvsp[1-yylen];
2695 { (yyval.node) = NULL; }
2701 { (yyval.node) = NULL; }
2707 { (yyval.node) = NULL; }
2713 { (yyval.node) = NULL; }
2740 (yyval.node) = NULL;
2749 (yyval.node) = new(mem_ctx) ast_warnings_toggle(true);
2758 (yyval.node) = new(mem_ctx) ast_warnings_toggle(false);
2814 (yyval.expression) = new(ctx) ast_expression(ast_identifier, NULL, NULL, NULL);
2815 (yyval.expression)->set_location((yylsp[0]));
2816 (yyval.expression)->primary_expression.identifier = (yyvsp[0].identifier);
2825 (yyval.expression) = new(ctx) ast_expression(ast_int_constant, NULL, NULL, NULL);
2826 (yyval.expression)->set_location((yylsp[0]));
2827 (yyval.expression)->primary_expression.int_constant = (yyvsp[0].n);
2836 (yyval.expression) = new(ctx) ast_expression(ast_uint_constant, NULL, NULL, NULL);
2837 (yyval.expression)->set_location((yylsp[0]));
2838 (yyval.expression)->primary_expression.uint_constant = (yyvsp[0].n);
2847 (yyval.expression) = new(ctx) ast_expression(ast_int64_constant, NULL, NULL, NULL);
2848 (yyval.expression)->set_location((yylsp[0]));
2849 (yyval.expression)->primary_expression.int64_constant = (yyvsp[0].n64);
2858 (yyval.expression) = new(ctx) ast_expression(ast_uint64_constant, NULL, NULL, NULL);
2859 (yyval.expression)->set_location((yylsp[0]));
2860 (yyval.expression)->primary_expression.uint64_constant = (yyvsp[0].n64);
2869 (yyval.expression) = new(ctx) ast_expression(ast_float_constant, NULL, NULL, NULL);
2870 (yyval.expression)->set_location((yylsp[0]));
2871 (yyval.expression)->primary_expression.float_constant = (yyvsp[0].real);
2880 (yyval.expression) = new(ctx) ast_expression(ast_double_constant, NULL, NULL, NULL);
2881 (yyval.expression)->set_location((yylsp[0]));
2882 (yyval.expression)->primary_expression.double_constant = (yyvsp[0].dreal);
2891 (yyval.expression) = new(ctx) ast_expression(ast_bool_constant, NULL, NULL, NULL);
2892 (yyval.expression)->set_location((yylsp[0]));
2893 (yyval.expression)->primary_expression.bool_constant = (yyvsp[0].n);
2901 (yyval.expression) = (yyvsp[-1].expression);
2910 (yyval.expression) = new(ctx) ast_expression(ast_array_index, (yyvsp[-3].expression), (yyvsp[-1].expression), NULL);
2911 (yyval.expression)->set_location_range((yylsp[-3]), (yylsp[0]));
2919 (yyval.expression) = (yyvsp[0].expression);
2928 (yyval.expression) = new(ctx) ast_expression(ast_field_selection, (yyvsp[-2].expression), NULL, NULL);
2929 (yyval.expression)->set_location_range((yylsp[-2]), (yylsp[0]));
2930 (yyval.expression)->primary_expression.identifier = (yyvsp[0].identifier);
2939 (yyval.expression) = new(ctx) ast_expression(ast_post_inc, (yyvsp[-1].expression), NULL, NULL);
2940 (yyval.expression)->set_location_range((yylsp[-1]), (yylsp[0]));
2949 (yyval.expression) = new(ctx) ast_expression(ast_post_dec, (yyvsp[-1].expression), NULL, NULL);
2950 (yyval.expression)->set_location_range((yylsp[-1]), (yylsp[0]));
2958 (yyval.expression) = (yyvsp[-1].expression);
2959 (yyval.expression)->set_location((yylsp[-1]));
2960 (yyval.expression)->expressions.push_tail(& (yyvsp[0].expression)->link);
2968 (yyval.expression) = (yyvsp[-2].expression);
2969 (yyval.expression)->set_location((yylsp[-2]));
2970 (yyval.expression)->expressions.push_tail(& (yyvsp[0].expression)->link);
2979 (yyval.expression) = new(ctx) ast_function_expression((yyvsp[0].type_specifier));
2980 (yyval.expression)->set_location((yylsp[0]));
2989 (yyval.expression) = new(ctx) ast_function_expression((yyvsp[0].expression));
2990 (yyval.expression)->set_location((yylsp[0]));
2999 (yyval.expression) = new(ctx) ast_expression(ast_pre_inc, (yyvsp[0].expression), NULL, NULL);
3000 (yyval.expression)->set_location((yylsp[-1]));
3009 (yyval.expression) = new(ctx) ast_expression(ast_pre_dec, (yyvsp[0].expression), NULL, NULL);
3010 (yyval.expression)->set_location((yylsp[-1]));
3019 (yyval.expression) = new(ctx) ast_expression((yyvsp[-1].n), (yyvsp[0].expression), NULL, NULL);
3020 (yyval.expression)->set_location_range((yylsp[-1]), (yylsp[0]));
3027 { (yyval.n) = ast_plus; }
3033 { (yyval.n) = ast_neg; }
3039 { (yyval.n) = ast_logic_not; }
3045 { (yyval.n) = ast_bit_not; }
3053 (yyval.expression) = new(ctx) ast_expression_bin(ast_mul, (yyvsp[-2].expression), (yyvsp[0].expression));
3054 (yyval.expression)->set_location_range((yylsp[-2]), (yylsp[0]));
3063 (yyval.expression) = new(ctx) ast_expression_bin(ast_div, (yyvsp[-2].expression), (yyvsp[0].expression));
3064 (yyval.expression)->set_location_range((yylsp[-2]), (yylsp[0]));
3073 (yyval.expression) = new(ctx) ast_expression_bin(ast_mod, (yyvsp[-2].expression), (yyvsp[0].expression));
3074 (yyval.expression)->set_location_range((yylsp[-2]), (yylsp[0]));
3083 (yyval.expression) = new(ctx) ast_expression_bin(ast_add, (yyvsp[-2].expression), (yyvsp[0].expression));
3084 (yyval.expression)->set_location_range((yylsp[-2]), (yylsp[0]));
3093 (yyval.expression) = new(ctx) ast_expression_bin(ast_sub, (yyvsp[-2].expression), (yyvsp[0].expression));
3094 (yyval.expression)->set_location_range((yylsp[-2]), (yylsp[0]));
3103 (yyval.expression) = new(ctx) ast_expression_bin(ast_lshift, (yyvsp[-2].expression), (yyvsp[0].expression));
3104 (yyval.expression)->set_location_range((yylsp[-2]), (yylsp[0]));
3113 (yyval.expression) = new(ctx) ast_expression_bin(ast_rshift, (yyvsp[-2].expression), (yyvsp[0].expression));
3114 (yyval.expression)->set_location_range((yylsp[-2]), (yylsp[0]));
3123 (yyval.expression) = new(ctx) ast_expression_bin(ast_less, (yyvsp[-2].expression), (yyvsp[0].expression));
3124 (yyval.expression)->set_location_range((yylsp[-2]), (yylsp[0]));
3133 (yyval.expression) = new(ctx) ast_expression_bin(ast_greater, (yyvsp[-2].expression), (yyvsp[0].expression));
3134 (yyval.expression)->set_location_range((yylsp[-2]), (yylsp[0]));
3143 (yyval.expression) = new(ctx) ast_expression_bin(ast_lequal, (yyvsp[-2].expression), (yyvsp[0].expression));
3144 (yyval.expression)->set_location_range((yylsp[-2]), (yylsp[0]));
3153 (yyval.expression) = new(ctx) ast_expression_bin(ast_gequal, (yyvsp[-2].expression), (yyvsp[0].expression));
3154 (yyval.expression)->set_location_range((yylsp[-2]), (yylsp[0]));
3163 (yyval.expression) = new(ctx) ast_expression_bin(ast_equal, (yyvsp[-2].expression), (yyvsp[0].expression));
3164 (yyval.expression)->set_location_range((yylsp[-2]), (yylsp[0]));
3173 (yyval.expression) = new(ctx) ast_expression_bin(ast_nequal, (yyvsp[-2].expression), (yyvsp[0].expression));
3174 (yyval.expression)->set_location_range((yylsp[-2]), (yylsp[0]));
3183 (yyval.expression) = new(ctx) ast_expression_bin(ast_bit_and, (yyvsp[-2].expression), (yyvsp[0].expression));
3184 (yyval.expression)->set_location_range((yylsp[-2]), (yylsp[0]));
3193 (yyval.expression) = new(ctx) ast_expression_bin(ast_bit_xor, (yyvsp[-2].expression), (yyvsp[0].expression));
3194 (yyval.expression)->set_location_range((yylsp[-2]), (yylsp[0]));
3203 (yyval.expression) = new(ctx) ast_expression_bin(ast_bit_or, (yyvsp[-2].expression), (yyvsp[0].expression));
3204 (yyval.expression)->set_location_range((yylsp[-2]), (yylsp[0]));
3213 (yyval.expression) = new(ctx) ast_expression_bin(ast_logic_and, (yyvsp[-2].expression), (yyvsp[0].expression));
3214 (yyval.expression)->set_location_range((yylsp[-2]), (yylsp[0]));
3223 (yyval.expression) = new(ctx) ast_expression_bin(ast_logic_xor, (yyvsp[-2].expression), (yyvsp[0].expression));
3224 (yyval.expression)->set_location_range((yylsp[-2]), (yylsp[0]));
3233 (yyval.expression) = new(ctx) ast_expression_bin(ast_logic_or, (yyvsp[-2].expression), (yyvsp[0].expression));
3234 (yyval.expression)->set_location_range((yylsp[-2]), (yylsp[0]));
3243 (yyval.expression) = new(ctx) ast_expression(ast_conditional, (yyvsp[-4].expression), (yyvsp[-2].expression), (yyvsp[0].expression));
3244 (yyval.expression)->set_location_range((yylsp[-4]), (yylsp[0]));
3253 (yyval.expression) = new(ctx) ast_expression((yyvsp[-1].n), (yyvsp[-2].expression), (yyvsp[0].expression), NULL);
3254 (yyval.expression)->set_location_range((yylsp[-2]), (yylsp[0]));
3261 { (yyval.n) = ast_assign; }
3267 { (yyval.n) = ast_mul_assign; }
3273 { (yyval.n) = ast_div_assign; }
3279 { (yyval.n) = ast_mod_assign; }
3285 { (yyval.n) = ast_add_assign; }
3291 { (yyval.n) = ast_sub_assign; }
3297 { (yyval.n) = ast_ls_assign; }
3303 { (yyval.n) = ast_rs_assign; }
3309 { (yyval.n) = ast_and_assign; }
3315 { (yyval.n) = ast_xor_assign; }
3321 { (yyval.n) = ast_or_assign; }
3328 (yyval.expression) = (yyvsp[0].expression);
3338 (yyval.expression) = new(ctx) ast_expression(ast_sequence, NULL, NULL, NULL);
3339 (yyval.expression)->set_location_range((yylsp[-2]), (yylsp[0]));
3340 (yyval.expression)->expressions.push_tail(& (yyvsp[-2].expression)->link);
3342 (yyval.expression) = (yyvsp[-2].expression);
3345 (yyval.expression)->expressions.push_tail(& (yyvsp[0].expression)->link);
3354 (yyval.node) = (yyvsp[-1].function);
3362 (yyval.node) = (yyvsp[-1].declarator_list);
3371 (yyval.node) = (yyvsp[-1].type_specifier);
3389 (yyval.node) = (yyvsp[0].node);
3397 (yyval.function) = (yyvsp[-1].function);
3398 (yyval.function)->parameters.push_tail(& (yyvsp[0].parameter_declarator)->link);
3406 (yyval.function) = (yyvsp[-2].function);
3407 (yyval.function)->parameters.push_tail(& (yyvsp[0].parameter_declarator)->link);
3416 (yyval.function) = new(ctx) ast_function();
3417 (yyval.function)->set_location((yylsp[-1]));
3418 (yyval.function)->return_type = (yyvsp[-2].fully_specified_type);
3419 (yyval.function)->identifier = (yyvsp[-1].identifier);
3435 (yyval.parameter_declarator) = new(ctx) ast_parameter_declarator();
3436 (yyval.parameter_declarator)->set_location_range((yylsp[-1]), (yylsp[0]));
3437 (yyval.parameter_declarator)->type = new(ctx) ast_fully_specified_type();
3438 (yyval.parameter_declarator)->type->set_location((yylsp[-1]));
3439 (yyval.parameter_declarator)->type->specifier = (yyvsp[-1].type_specifier);
3440 (yyval.parameter_declarator)->identifier = (yyvsp[0].identifier);
3459 (yyval.parameter_declarator) = new(ctx) ast_parameter_declarator();
3460 (yyval.parameter_declarator)->set_location_range((yylsp[-2]), (yylsp[0]));
3461 (yyval.parameter_declarator)->type = new(ctx) ast_fully_specified_type();
3462 (yyval.parameter_declarator)->type->set_location((yylsp[-2]));
3463 (yyval.parameter_declarator)->type->specifier = (yyvsp[-2].type_specifier);
3464 (yyval.parameter_declarator)->identifier = (yyvsp[-1].identifier);
3465 (yyval.parameter_declarator)->array_specifier = (yyvsp[0].array_specifier);
3474 (yyval.parameter_declarator) = (yyvsp[0].parameter_declarator);
3475 (yyval.parameter_declarator)->type->qualifier = (yyvsp[-1].type_qualifier);
3476 if (!(yyval.parameter_declarator)->type->qualifier.push_to_global(& (yylsp[-1]), state)) {
3487 (yyval.parameter_declarator) = new(ctx) ast_parameter_declarator();
3488 (yyval.parameter_declarator)->set_location((yylsp[0]));
3489 (yyval.parameter_declarator)->type = new(ctx) ast_fully_specified_type();
3490 (yyval.parameter_declarator)->type->set_location_range((yylsp[-1]), (yylsp[0]));
3491 (yyval.parameter_declarator)->type->qualifier = (yyvsp[-1].type_qualifier);
3492 if (!(yyval.parameter_declarator)->type->qualifier.push_to_global(& (yylsp[-1]), state)) {
3495 (yyval.parameter_declarator)->type->specifier = (yyvsp[0].type_specifier);
3503 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
3514 (yyval.type_qualifier) = (yyvsp[0].type_qualifier);
3515 (yyval.type_qualifier).flags.q.constant = 1;
3526 (yyval.type_qualifier) = (yyvsp[0].type_qualifier);
3527 (yyval.type_qualifier).flags.q.precise = 1;
3542 (yyval.type_qualifier) = (yyvsp[-1].type_qualifier);
3543 (yyval.type_qualifier).merge_qualifier(&(yylsp[-1]), state, (yyvsp[0].type_qualifier), false);
3558 (yyval.type_qualifier) = (yyvsp[0].type_qualifier);
3559 (yyval.type_qualifier).precision = (yyvsp[-1].n);
3567 (yyval.type_qualifier) = (yyvsp[-1].type_qualifier);
3568 (yyval.type_qualifier).merge_qualifier(&(yylsp[-1]), state, (yyvsp[0].type_qualifier), false);
3576 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
3577 (yyval.type_qualifier).flags.q.in = 1;
3585 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
3586 (yyval.type_qualifier).flags.q.out = 1;
3594 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
3595 (yyval.type_qualifier).flags.q.in = 1;
3596 (yyval.type_qualifier).flags.q.out = 1;
3608 (yyval.declarator_list) = (yyvsp[-2].declarator_list);
3609 (yyval.declarator_list)->declarations.push_tail(&decl->link);
3622 (yyval.declarator_list) = (yyvsp[-3].declarator_list);
3623 (yyval.declarator_list)->declarations.push_tail(&decl->link);
3636 (yyval.declarator_list) = (yyvsp[-5].declarator_list);
3637 (yyval.declarator_list)->declarations.push_tail(&decl->link);
3650 (yyval.declarator_list) = (yyvsp[-4].declarator_list);
3651 (yyval.declarator_list)->declarations.push_tail(&decl->link);
3662 (yyval.declarator_list) = new(ctx) ast_declarator_list((yyvsp[0].fully_specified_type));
3663 (yyval.declarator_list)->set_location((yylsp[0]));
3675 (yyval.declarator_list) = new(ctx) ast_declarator_list((yyvsp[-1].fully_specified_type));
3676 (yyval.declarator_list)->set_location_range((yylsp[-1]), (yylsp[0]));
3677 (yyval.declarator_list)->declarations.push_tail(&decl->link);
3690 (yyval.declarator_list) = new(ctx) ast_declarator_list((yyvsp[-2].fully_specified_type));
3691 (yyval.declarator_list)->set_location_range((yylsp[-2]), (yylsp[0]));
3692 (yyval.declarator_list)->declarations.push_tail(&decl->link);
3705 (yyval.declarator_list) = new(ctx) ast_declarator_list((yyvsp[-4].fully_specified_type));
3706 (yyval.declarator_list)->set_location_range((yylsp[-4]), (yylsp[-2]));
3707 (yyval.declarator_list)->declarations.push_tail(&decl->link);
3720 (yyval.declarator_list) = new(ctx) ast_declarator_list((yyvsp[-3].fully_specified_type));
3721 (yyval.declarator_list)->set_location_range((yylsp[-3]), (yylsp[-2]));
3722 (yyval.declarator_list)->declarations.push_tail(&decl->link);
3735 (yyval.declarator_list) = new(ctx) ast_declarator_list(NULL);
3736 (yyval.declarator_list)->set_location_range((yylsp[-1]), (yylsp[0]));
3737 (yyval.declarator_list)->invariant = true;
3739 (yyval.declarator_list)->declarations.push_tail(&decl->link);
3751 (yyval.declarator_list) = new(ctx) ast_declarator_list(NULL);
3752 (yyval.declarator_list)->set_location_range((yylsp[-1]), (yylsp[0]));
3753 (yyval.declarator_list)->precise = true;
3755 (yyval.declarator_list)->declarations.push_tail(&decl->link);
3764 (yyval.fully_specified_type) = new(ctx) ast_fully_specified_type();
3765 (yyval.fully_specified_type)->set_location((yylsp[0]));
3766 (yyval.fully_specified_type)->specifier = (yyvsp[0].type_specifier);
3775 (yyval.fully_specified_type) = new(ctx) ast_fully_specified_type();
3776 (yyval.fully_specified_type)->set_location_range((yylsp[-1]), (yylsp[0]));
3777 (yyval.fully_specified_type)->qualifier = (yyvsp[-1].type_qualifier);
3778 if (!(yyval.fully_specified_type)->qualifier.push_to_global(& (yylsp[-1]), state)) {
3781 (yyval.fully_specified_type)->specifier = (yyvsp[0].type_specifier);
3782 if ((yyval.fully_specified_type)->specifier->structure != NULL &&
3783 (yyval.fully_specified_type)->specifier->structure->is_declaration) {
3784 (yyval.fully_specified_type)->specifier->structure->layout = &(yyval.fully_specified_type)->qualifier;
3793 (yyval.type_qualifier) = (yyvsp[-1].type_qualifier);
3801 (yyval.type_qualifier) = (yyvsp[-2].type_qualifier);
3802 if (!(yyval.type_qualifier).merge_qualifier(& (yylsp[0]), state, (yyvsp[0].type_qualifier), true)) {
3812 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
3815 if (!(yyval.type_qualifier).flags.i && (state->ARB_fragment_coord_conventions_enable ||
3818 (yyval.type_qualifier).flags.q.origin_upper_left = 1;
3821 (yyval.type_qualifier).flags.q.pixel_center_integer = 1;
3824 if ((yyval.type_qualifier).flags.i && state->ARB_fragment_coord_conventions_warn) {
3832 if (!(yyval.type_qualifier).flags.i &&
3837 (yyval.type_qualifier).flags.q.depth_type = 1;
3838 (yyval.type_qualifier).depth_type = ast_depth_any;
3840 (yyval.type_qualifier).flags.q.depth_type = 1;
3841 (yyval.type_qualifier).depth_type = ast_depth_greater;
3843 (yyval.type_qualifier).flags.q.depth_type = 1;
3844 (yyval.type_qualifier).depth_type = ast_depth_less;
3847 (yyval.type_qualifier).flags.q.depth_type = 1;
3848 (yyval.type_qualifier).depth_type = ast_depth_unchanged;
3851 if ((yyval.type_qualifier).flags.i && state->AMD_conservative_depth_warn) {
3856 if ((yyval.type_qualifier).flags.i && state->ARB_conservative_depth_warn) {
3864 if (!(yyval.type_qualifier).flags.i && state->has_uniform_buffer_objects()) {
3866 (yyval.type_qualifier).flags.q.std140 = 1;
3868 (yyval.type_qualifier).flags.q.shared = 1;
3870 (yyval.type_qualifier).flags.q.std430 = 1;
3872 (yyval.type_qualifier).flags.q.column_major = 1;
3884 (yyval.type_qualifier).flags.q.row_major = 1;
3892 (yyval.type_qualifier).flags.q.packed = 1;
3895 if ((yyval.type_qualifier).flags.i && state->ARB_uniform_buffer_object_warn) {
3903 if (!(yyval.type_qualifier).flags.i) {
3918 (yyval.type_qualifier).flags.q.prim_type = 1;
3919 (yyval.type_qualifier).prim_type = map[i].e;
3924 if ((yyval.type_qualifier).flags.i && !state->has_geometry_shader() &&
3933 if (!(yyval.type_qualifier).flags.i) {
4014 (yyval.type_qualifier).flags.q.explicit_image_format = 1;
4015 (yyval.type_qualifier).image_format = map[i].format;
4016 (yyval.type_qualifier).image_base_type = map[i].base_type;
4023 if (!(yyval.type_qualifier).flags.i) {
4040 (yyval.type_qualifier).flags.q.early_fragment_tests = 1;
4051 (yyval.type_qualifier).flags.q.inner_coverage = 1;
4069 (yyval.type_qualifier).flags.q.post_depth_coverage = 1;
4078 if ((yyval.type_qualifier).flags.q.post_depth_coverage && (yyval.type_qualifier).flags.q.inner_coverage) {
4111 (yyval.type_qualifier).flags.q.pixel_interlock_ordered = pixel_interlock_ordered;
4112 (yyval.type_qualifier).flags.q.pixel_interlock_unordered = pixel_interlock_unordered;
4113 (yyval.type_qualifier).flags.q.sample_interlock_ordered = sample_interlock_ordered;
4114 (yyval.type_qualifier).flags.q.sample_interlock_unordered = sample_interlock_unordered;
4118 if (!(yyval.type_qualifier).flags.i) {
4129 (yyval.type_qualifier).flags.q.prim_type = 1;
4130 (yyval.type_qualifier).prim_type = map[i].e;
4135 if ((yyval.type_qualifier).flags.i && !state->has_tessellation_shader()) {
4141 if (!(yyval.type_qualifier).flags.i) {
4152 (yyval.type_qualifier).flags.q.vertex_spacing = 1;
4153 (yyval.type_qualifier).vertex_spacing = map[i].e;
4158 if ((yyval.type_qualifier).flags.i && !state->has_tessellation_shader()) {
4164 if (!(yyval.type_qualifier).flags.i) {
4166 (yyval.type_qualifier).flags.q.ordering = 1;
4167 (yyval.type_qualifier).ordering = GL_CW;
4169 (yyval.type_qualifier).flags.q.ordering = 1;
4170 (yyval.type_qualifier).ordering = GL_CCW;
4173 if ((yyval.type_qualifier).flags.i && !state->has_tessellation_shader()) {
4179 if (!(yyval.type_qualifier).flags.i) {
4181 (yyval.type_qualifier).flags.q.point_mode = 1;
4182 (yyval.type_qualifier).point_mode = true;
4185 if ((yyval.type_qualifier).flags.i && !state->has_tessellation_shader()) {
4192 if (!(yyval.type_qualifier).flags.i) {
4216 (yyval.type_qualifier).flags.q.blend_support = 1;
4222 if ((yyval.type_qualifier).flags.i &&
4230 if ((yyval.type_qualifier).flags.i && state->stage != MESA_SHADER_FRAGMENT) {
4238 if (!(yyval.type_qualifier).flags.i) {
4240 (yyval.type_qualifier).flags.q.local_size_variable = 1;
4243 if ((yyval.type_qualifier).flags.i && !state->ARB_compute_variable_group_size_enable) {
4251 if (!(yyval.type_qualifier).flags.i) {
4253 (yyval.type_qualifier).flags.q.bindless_sampler = 1;
4255 (yyval.type_qualifier).flags.q.bound_sampler = 1;
4259 (yyval.type_qualifier).flags.q.bindless_image = 1;
4261 (yyval.type_qualifier).flags.q.bound_image = 1;
4264 if ((yyval.type_qualifier).flags.i && !state->has_bindless()) {
4271 if (!(yyval.type_qualifier).flags.i &&
4274 (yyval.type_qualifier).flags.q.non_coherent = 1;
4278 if (!(yyval.type_qualifier).flags.i) {
4280 (yyval.type_qualifier).flags.q.derivative_group = 1;
4281 (yyval.type_qualifier).derivative_group = DERIVATIVE_GROUP_QUADS;
4283 (yyval.type_qualifier).flags.q.derivative_group = 1;
4284 (yyval.type_qualifier).derivative_group = DERIVATIVE_GROUP_LINEAR;
4287 if ((yyval.type_qualifier).flags.i) {
4309 if (!(yyval.type_qualifier).flags.i && state->stage != MESA_SHADER_FRAGMENT) {
4311 (yyval.type_qualifier).flags.q.viewport_relative = 1;
4314 if ((yyval.type_qualifier).flags.i && !state->NV_viewport_array2_enable) {
4320 if ((yyval.type_qualifier).flags.i && state->NV_viewport_array2_warn) {
4327 if (!(yyval.type_qualifier).flags.i) {
4339 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
4356 (yyval.type_qualifier).flags.q.explicit_align = 1;
4357 (yyval.type_qualifier).align = (yyvsp[0].expression);
4362 (yyval.type_qualifier).flags.q.explicit_location = 1;
4364 if ((yyval.type_qualifier).flags.q.attribute == 1 &&
4370 (yyval.type_qualifier).location = (yyvsp[0].expression);
4379 (yyval.type_qualifier).flags.q.explicit_component = 1;
4380 (yyval.type_qualifier).component = (yyvsp[0].expression);
4390 (yyval.type_qualifier).flags.q.explicit_index = 1;
4391 (yyval.type_qualifier).index = (yyvsp[0].expression);
4398 (yyval.type_qualifier).flags.q.explicit_binding = 1;
4399 (yyval.type_qualifier).binding = (yyvsp[0].expression);
4405 (yyval.type_qualifier).flags.q.explicit_offset = 1;
4406 (yyval.type_qualifier).offset = (yyvsp[0].expression);
4410 (yyval.type_qualifier).flags.q.max_vertices = 1;
4411 (yyval.type_qualifier).max_vertices = new(ctx) ast_layout_expression((yylsp[-2]), (yyvsp[0].expression));
4422 (yyval.type_qualifier).flags.q.stream = 1;
4423 (yyval.type_qualifier).flags.q.explicit_stream = 1;
4424 (yyval.type_qualifier).stream = (yyvsp[0].expression);
4430 (yyval.type_qualifier).flags.q.xfb_buffer = 1;
4431 (yyval.type_qualifier).flags.q.explicit_xfb_buffer = 1;
4432 (yyval.type_qualifier).xfb_buffer = (yyvsp[0].expression);
4436 (yyval.type_qualifier).flags.q.explicit_xfb_offset = 1;
4437 (yyval.type_qualifier).offset = (yyvsp[0].expression);
4441 (yyval.type_qualifier).flags.q.xfb_stride = 1;
4442 (yyval.type_qualifier).flags.q.explicit_xfb_stride = 1;
4443 (yyval.type_qualifier).xfb_stride = (yyvsp[0].expression);
4462 (yyval.type_qualifier).flags.q.local_size |= (1 << i);
4463 (yyval.type_qualifier).local_size[i] = new(ctx) ast_layout_expression((yylsp[-2]), (yyvsp[0].expression));
4470 (yyval.type_qualifier).flags.q.invocations = 1;
4471 (yyval.type_qualifier).invocations = new(ctx) ast_layout_expression((yylsp[-2]), (yyvsp[0].expression));
4484 (yyval.type_qualifier).flags.q.vertices = 1;
4485 (yyval.type_qualifier).vertices = new(ctx) ast_layout_expression((yylsp[-2]), (yyvsp[0].expression));
4496 if (!(yyval.type_qualifier).flags.i) {
4508 (yyval.type_qualifier) = (yyvsp[0].type_qualifier);
4510 if ((yyval.type_qualifier).flags.q.uniform && !state->has_uniform_buffer_objects()) {
4514 } else if ((yyval.type_qualifier).flags.q.uniform && state->ARB_uniform_buffer_object_warn) {
4526 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
4527 (yyval.type_qualifier).flags.q.row_major = 1;
4535 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
4536 (yyval.type_qualifier).flags.q.packed = 1;
4544 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
4545 (yyval.type_qualifier).flags.q.shared = 1;
4553 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
4554 (yyval.type_qualifier).flags.q.subroutine = 1;
4562 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
4563 (yyval.type_qualifier).flags.q.subroutine = 1;
4564 (yyval.type_qualifier).subroutine_list = (yyvsp[-1].subroutine_list);
4576 (yyval.subroutine_list) = new(ctx) ast_subroutine_list();
4577 (yyval.subroutine_list)->declarations.push_tail(&decl->link);
4589 (yyval.subroutine_list) = (yyvsp[-2].subroutine_list);
4590 (yyval.subroutine_list)->declarations.push_tail(&decl->link);
4598 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
4599 (yyval.type_qualifier).flags.q.smooth = 1;
4607 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
4608 (yyval.type_qualifier).flags.q.flat = 1;
4616 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
4617 (yyval.type_qualifier).flags.q.noperspective = 1;
4625 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
4626 (yyval.type_qualifier).flags.q.invariant = 1;
4634 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
4635 (yyval.type_qualifier).flags.q.precise = 1;
4643 memset(&(yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
4644 (yyval.type_qualifier).precision = (yyvsp[0].n);
4655 (yyval.type_qualifier) = (yyvsp[0].type_qualifier);
4656 (yyval.type_qualifier).flags.q.precise = 1;
4671 (yyval.type_qualifier) = (yyvsp[0].type_qualifier);
4672 (yyval.type_qualifier).flags.q.invariant = 1;
4684 if (state->is_version(420, 300) && (yyval.type_qualifier).flags.q.in)
4712 (yyval.type_qualifier) = (yyvsp[-1].type_qualifier);
4713 (yyval.type_qualifier).merge_qualifier(&(yylsp[-1]), state, (yyvsp[0].type_qualifier), false);
4730 (yyval.type_qualifier) = (yyvsp[-1].type_qualifier);
4731 (yyval.type_qualifier).merge_qualifier(& (yylsp[-1]), state, (yyvsp[0].type_qualifier), false, (yyvsp[0].type_qualifier).has_layout());
4739 (yyval.type_qualifier) = (yyvsp[-1].type_qualifier);
4740 (yyval.type_qualifier).merge_qualifier(&(yylsp[-1]), state, (yyvsp[0].type_qualifier), false);
4759 (yyval.type_qualifier) = (yyvsp[-1].type_qualifier);
4760 (yyval.type_qualifier).merge_qualifier(&(yylsp[-1]), state, (yyvsp[0].type_qualifier), false);
4788 (yyval.type_qualifier) = (yyvsp[-1].type_qualifier);
4789 (yyval.type_qualifier).merge_qualifier(&(yylsp[-1]), state, (yyvsp[0].type_qualifier), false);
4804 (yyval.type_qualifier) = (yyvsp[0].type_qualifier);
4805 (yyval.type_qualifier).precision = (yyvsp[-1].n);
4813 (yyval.type_qualifier) = (yyvsp[-1].type_qualifier);
4814 (yyval.type_qualifier).merge_qualifier(&(yylsp[-1]), state, (yyvsp[0].type_qualifier), false);
4822 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
4823 (yyval.type_qualifier).flags.q.centroid = 1;
4831 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
4832 (yyval.type_qualifier).flags.q.sample = 1;
4840 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
4841 (yyval.type_qualifier).flags.q.patch = 1;
4849 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
4850 (yyval.type_qualifier).flags.q.constant = 1;
4858 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
4859 (yyval.type_qualifier).flags.q.attribute = 1;
4867 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
4868 (yyval.type_qualifier).flags.q.varying = 1;
4876 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
4877 (yyval.type_qualifier).flags.q.in = 1;
4885 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
4886 (yyval.type_qualifier).flags.q.out = 1;
4897 (yyval.type_qualifier).flags.q.stream = 1;
4898 (yyval.type_qualifier).flags.q.explicit_stream = 0;
4899 (yyval.type_qualifier).stream = state->out_qualifier->stream;
4903 (yyval.type_qualifier).flags.q.xfb_buffer = 1;
4904 (yyval.type_qualifier).flags.q.explicit_xfb_buffer = 0;
4905 (yyval.type_qualifier).xfb_buffer = state->out_qualifier->xfb_buffer;
4914 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
4915 (yyval.type_qualifier).flags.q.in = 1;
4916 (yyval.type_qualifier).flags.q.out = 1;
4930 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
4931 (yyval.type_qualifier).flags.q.uniform = 1;
4939 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
4940 (yyval.type_qualifier).flags.q.buffer = 1;
4948 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
4949 (yyval.type_qualifier).flags.q.shared_storage = 1;
4957 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
4958 (yyval.type_qualifier).flags.q.coherent = 1;
4966 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
4967 (yyval.type_qualifier).flags.q._volatile = 1;
4975 STATIC_ASSERT(sizeof((yyval.type_qualifier).flags.q) <= sizeof((yyval.type_qualifier).flags.i));
4976 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
4977 (yyval.type_qualifier).flags.q.restrict_flag = 1;
4985 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
4986 (yyval.type_qualifier).flags.q.read_only = 1;
4994 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
4995 (yyval.type_qualifier).flags.q.write_only = 1;
5004 (yyval.array_specifier) = new(ctx) ast_array_specifier((yylsp[-1]), new(ctx) ast_expression(
5007 (yyval.array_specifier)->set_location_range((yylsp[-1]), (yylsp[0]));
5016 (yyval.array_specifier) = new(ctx) ast_array_specifier((yylsp[-2]), (yyvsp[-1].expression));
5017 (yyval.array_specifier)->set_location_range((yylsp[-2]), (yylsp[0]));
5026 (yyval.array_specifier) = (yyvsp[-2].array_specifier);
5029 (yyval.array_specifier)->add_dimension(new(ctx) ast_expression(ast_unsized_array_dim, NULL,
5039 (yyval.array_specifier) = (yyvsp[-3].array_specifier);
5042 (yyval.array_specifier)->add_dimension((yyvsp[-1].expression));
5051 (yyval.type_specifier) = (yyvsp[-1].type_specifier);
5052 (yyval.type_specifier)->array_specifier = (yyvsp[0].array_specifier);
5061 (yyval.type_specifier) = new(ctx) ast_type_specifier((yyvsp[0].type));
5062 (yyval.type_specifier)->set_location((yylsp[0]));
5071 (yyval.type_specifier) = new(ctx) ast_type_specifier((yyvsp[0].struct_specifier));
5072 (yyval.type_specifier)->set_location((yylsp[0]));
5081 (yyval.type_specifier) = new(ctx) ast_type_specifier((yyvsp[0].identifier));
5082 (yyval.type_specifier)->set_location((yylsp[0]));
5089 { (yyval.type) = glsl_type::void_type; }
5095 { (yyval.type) = (yyvsp[0].type); }
5103 (yyval.type) = glsl_type::uint_type;
5116 (yyval.n) = ast_precision_high;
5125 (yyval.n) = ast_precision_medium;
5134 (yyval.n) = ast_precision_low;
5143 (yyval.struct_specifier) = new(ctx) ast_struct_specifier((yyvsp[-3].identifier), (yyvsp[-1].declarator_list));
5144 (yyval.struct_specifier)->set_location_range((yylsp[-3]), (yylsp[0]));
5161 (yyval.struct_specifier) = new(ctx) ast_struct_specifier("#anon_struct", (yyvsp[-1].declarator_list));
5163 (yyval.struct_specifier)->set_location_range((yylsp[-2]), (yylsp[0]));
5171 (yyval.declarator_list) = (yyvsp[0].declarator_list);
5180 (yyval.declarator_list) = (yyvsp[-1].declarator_list);
5181 (yyval.declarator_list)->link.insert_before(& (yyvsp[0].declarator_list)->link);
5217 (yyval.declarator_list) = new(ctx) ast_declarator_list(type);
5218 (yyval.declarator_list)->set_location((yylsp[-1]));
5220 (yyval.declarator_list)->declarations.push_degenerate_list_at_head(& (yyvsp[-1].declaration)->link);
5228 (yyval.declaration) = (yyvsp[0].declaration);
5237 (yyval.declaration) = (yyvsp[-2].declaration);
5238 (yyval.declaration)->link.insert_before(& (yyvsp[0].declaration)->link);
5247 (yyval.declaration) = new(ctx) ast_declaration((yyvsp[0].identifier), NULL, NULL);
5248 (yyval.declaration)->set_location((yylsp[0]));
5257 (yyval.declaration) = new(ctx) ast_declaration((yyvsp[-1].identifier), (yyvsp[0].array_specifier), NULL);
5258 (yyval.declaration)->set_location_range((yylsp[-1]), (yylsp[0]));
5266 (yyval.expression) = (yyvsp[-1].expression);
5274 (yyval.expression) = (yyvsp[-2].expression);
5283 (yyval.expression) = new(ctx) ast_aggregate_initializer();
5284 (yyval.expression)->set_location((yylsp[0]));
5285 (yyval.expression)->expressions.push_tail(& (yyvsp[0].expression)->link);
5300 { (yyval.node) = (ast_node *) (yyvsp[0].compound_statement); }
5308 (yyval.compound_statement) = new(ctx) ast_compound_statement(true, NULL);
5309 (yyval.compound_statement)->set_location_range((yylsp[-1]), (yylsp[0]));
5326 (yyval.compound_statement) = new(ctx) ast_compound_statement(true, (yyvsp[-1].node));
5327 (yyval.compound_statement)->set_location_range((yylsp[-3]), (yylsp[0]));
5335 { (yyval.node) = (ast_node *) (yyvsp[0].compound_statement); }
5343 (yyval.compound_statement) = new(ctx) ast_compound_statement(false, NULL);
5344 (yyval.compound_statement)->set_location_range((yylsp[-1]), (yylsp[0]));
5353 (yyval.compound_statement) = new(ctx) ast_compound_statement(false, (yyvsp[-1].node));
5354 (yyval.compound_statement)->set_location_range((yylsp[-2]), (yylsp[0]));
5367 (yyval.node) = (yyvsp[0].node);
5368 (yyval.node)->link.self_link();
5380 (yyval.node) = (yyvsp[-1].node);
5381 (yyval.node)->link.insert_before(& (yyvsp[0].node)->link);
5403 (yyval.node) = new(ctx) ast_expression_statement(NULL);
5404 (yyval.node)->set_location((yylsp[0]));
5413 (yyval.node) = new(ctx) ast_expression_statement((yyvsp[-1].expression));
5414 (yyval.node)->set_location((yylsp[-1]));
5422 (yyval.node) = new(state->linalloc) ast_selection_statement((yyvsp[-2].expression), (yyvsp[0].selection_rest_statement).then_statement,
5424 (yyval.node)->set_location_range((yylsp[-4]), (yylsp[0]));
5432 (yyval.selection_rest_statement).then_statement = (yyvsp[-2].node);
5433 (yyval.selection_rest_statement).else_statement = (yyvsp[0].node);
5441 (yyval.selection_rest_statement).then_statement = (yyvsp[0].node);
5442 (yyval.selection_rest_statement).else_statement = NULL;
5450 (yyval.node) = (ast_node *) (yyvsp[0].expression);
5465 (yyval.node) = declarator;
5473 (yyval.node) = new(state->linalloc) ast_switch_statement((yyvsp[-2].expression), (yyvsp[0].switch_body));
5474 (yyval.node)->set_location_range((yylsp[-4]), (yylsp[0]));
5482 (yyval.switch_body) = new(state->linalloc) ast_switch_body(NULL);
5483 (yyval.switch_body)->set_location_range((yylsp[-1]), (yylsp[0]));
5491 (yyval.switch_body) = new(state->linalloc) ast_switch_body((yyvsp[-1].case_statement_list));
5492 (yyval.switch_body)->set_location_range((yylsp[-2]), (yylsp[0]));
5500 (yyval.case_label) = new(state->linalloc) ast_case_label((yyvsp[-1].expression));
5501 (yyval.case_label)->set_location((yylsp[-1]));
5509 (yyval.case_label) = new(state->linalloc) ast_case_label(NULL);
5510 (yyval.case_label)->set_location((yylsp[0]));
5521 (yyval.case_label_list) = labels;
5522 (yyval.case_label_list)->set_location((yylsp[0]));
5530 (yyval.case_label_list) = (yyvsp[-1].case_label_list);
5531 (yyval.case_label_list)->labels.push_tail(& (yyvsp[0].case_label)->link);
5543 (yyval.case_statement) = stmts;
5551 (yyval.case_statement) = (yyvsp[-1].case_statement);
5552 (yyval.case_statement)->stmts.push_tail(& (yyvsp[0].node)->link);
5564 (yyval.case_statement_list) = cases;
5572 (yyval.case_statement_list) = (yyvsp[-1].case_statement_list);
5573 (yyval.case_statement_list)->cases.push_tail(& (yyvsp[0].case_statement)->link);
5582 (yyval.node) = new(ctx) ast_iteration_statement(ast_iteration_statement::ast_while,
5584 (yyval.node)->set_location_range((yylsp[-4]), (yylsp[-1]));
5593 (yyval.node) = new(ctx) ast_iteration_statement(ast_iteration_statement::ast_do_while,
5595 (yyval.node)->set_location_range((yylsp[-6]), (yylsp[-1]));
5604 (yyval.node) = new(ctx) ast_iteration_statement(ast_iteration_statement::ast_for,
5606 (yyval.node)->set_location_range((yylsp[-5]), (yylsp[0]));
5614 (yyval.node) = NULL;
5622 (yyval.for_rest_statement).cond = (yyvsp[-1].node);
5623 (yyval.for_rest_statement).rest = NULL;
5631 (yyval.for_rest_statement).cond = (yyvsp[-2].node);
5632 (yyval.for_rest_statement).rest = (yyvsp[0].expression);
5641 (yyval.node) = new(ctx) ast_jump_statement(ast_jump_statement::ast_continue, NULL);
5642 (yyval.node)->set_location((yylsp[-1]));
5651 (yyval.node) = new(ctx) ast_jump_statement(ast_jump_statement::ast_break, NULL);
5652 (yyval.node)->set_location((yylsp[-1]));
5661 (yyval.node) = new(ctx) ast_jump_statement(ast_jump_statement::ast_return, NULL);
5662 (yyval.node)->set_location((yylsp[-1]));
5671 (yyval.node) = new(ctx) ast_jump_statement(ast_jump_statement::ast_return, (yyvsp[-1].expression));
5672 (yyval.node)->set_location_range((yylsp[-2]), (yylsp[-1]));
5681 (yyval.node) = new(ctx) ast_jump_statement(ast_jump_statement::ast_discard, NULL);
5682 (yyval.node)->set_location((yylsp[-1]));
5691 (yyval.node) = new(ctx) ast_demote_statement();
5692 (yyval.node)->set_location((yylsp[-1]));
5699 { (yyval.node) = (yyvsp[0].function_definition); }
5705 { (yyval.node) = (yyvsp[0].node); }
5711 { (yyval.node) = (yyvsp[0].node); }
5717 { (yyval.node) = (yyvsp[0].node); }
5723 { (yyval.node) = NULL; }
5731 (yyval.function_definition) = new(ctx) ast_function_definition();
5732 (yyval.function_definition)->set_location_range((yylsp[-1]), (yylsp[0]));
5733 (yyval.function_definition)->prototype = (yyvsp[-1].function);
5734 (yyval.function_definition)->body = (yyvsp[0].compound_statement);
5744 (yyval.node) = (yyvsp[0].interface_block);
5761 (yyval.node) = block;
5780 (yyval.node) = block;
5800 (yyval.interface_block) = block;
5808 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
5809 (yyval.type_qualifier).flags.q.in = 1;
5817 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
5818 (yyval.type_qualifier).flags.q.out = 1;
5826 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
5827 (yyval.type_qualifier).flags.q.uniform = 1;
5835 memset(& (yyval.type_qualifier), 0, sizeof((yyval.type_qualifier)));
5836 (yyval.type_qualifier).flags.q.buffer = 1;
5850 (yyval.type_qualifier) = (yyvsp[0].type_qualifier);
5851 (yyval.type_qualifier).flags.q.patch = 1;
5859 (yyval.interface_block) = new(state->linalloc) ast_interface_block(NULL, NULL);
5867 (yyval.interface_block) = new(state->linalloc) ast_interface_block((yyvsp[0].identifier), NULL);
5868 (yyval.interface_block)->set_location((yylsp[0]));
5876 (yyval.interface_block) = new(state->linalloc) ast_interface_block((yyvsp[-1].identifier), (yyvsp[0].array_specifier));
5877 (yyval.interface_block)->set_location_range((yylsp[-1]), (yylsp[0]));
5885 (yyval.declarator_list) = (yyvsp[0].declarator_list);
5894 (yyval.declarator_list) = (yyvsp[-1].declarator_list);
5895 (yyvsp[0].declarator_list)->link.insert_before(& (yyval.declarator_list)->link);
5917 (yyval.declarator_list) = new(ctx) ast_declarator_list(type);
5918 (yyval.declarator_list)->set_location((yylsp[-1]));
5920 (yyval.declarator_list)->declarations.push_degenerate_list_at_head(& (yyvsp[-1].declaration)->link);
5928 (yyval.type_qualifier) = (yyvsp[-1].type_qualifier);
5929 if (!(yyval.type_qualifier).merge_qualifier(& (yylsp[-1]), state, (yyvsp[0].type_qualifier), false, true)) {
5939 (yyval.type_qualifier) = (yyvsp[-1].type_qualifier);
5940 if (!(yyval.type_qualifier).merge_qualifier(& (yylsp[-1]), state, (yyvsp[0].type_qualifier), false, true)) {
5950 (yyval.type_qualifier) = (yyvsp[-1].type_qualifier);
5951 if (!(yyval.type_qualifier).merge_qualifier(& (yylsp[-1]), state, (yyvsp[0].type_qualifier), false, true)) {
5954 if (!(yyval.type_qualifier).validate_in_qualifier(& (yylsp[-1]), state)) {
5974 (yyval.type_qualifier) = (yyvsp[-1].type_qualifier);
5975 if (!(yyval.type_qualifier).merge_qualifier(& (yylsp[-1]), state, (yyvsp[0].type_qualifier), false, true)) {
5978 if (!(yyval.type_qualifier).validate_out_qualifier(& (yylsp[-1]), state)) {
5998 (yyval.node) = NULL;
6014 (yyval.node) = NULL;
6040 (yyval.node) = NULL;
6041 if (!(yyvsp[0].type_qualifier).merge_into_in_qualifier(& (yylsp[0]), state, (yyval.node))) {
6054 (yyval.node) = NULL;
6055 if (!(yyvsp[0].type_qualifier).merge_into_out_qualifier(& (yylsp[0]), state, (yyval.node))) {
6081 YY_SYMBOL_PRINT ("-> $$ =", YY_CAST (yysymbol_kind_t, yyr1[yyn]), &yyval, &yyloc);
6086 *++yyvsp = yyval;