Lines Matching defs:qual

1917 apply_type_qualifier_to_variable(const struct ast_type_qualifier *qual,
1923 if (qual->flags.q.invariant) {
1934 if (qual->flags.q.constant || qual->flags.q.attribute
1935 || qual->flags.q.uniform
1936 || (qual->flags.q.varying && (state->target == fragment_shader)))
1939 if (qual->flags.q.centroid)
1942 if (qual->flags.q.attribute && state->target != vertex_shader) {
1956 if (qual->flags.q.varying) {
1974 if (qual->flags.q.in && qual->flags.q.out)
1976 else if (qual->flags.q.attribute || qual->flags.q.in
1977 || (qual->flags.q.varying && (state->target == fragment_shader)))
1979 else if (qual->flags.q.out
1980 || (qual->flags.q.varying && (state->target == vertex_shader)))
1982 else if (qual->flags.q.uniform)
2002 if (qual->flags.q.flat)
2004 else if (qual->flags.q.noperspective)
2006 else if (qual->flags.q.smooth)
2020 var->pixel_center_integer = qual->flags.q.pixel_center_integer;
2021 var->origin_upper_left = qual->flags.q.origin_upper_left;
2022 if ((qual->flags.q.origin_upper_left || qual->flags.q.pixel_center_integer)
2024 const char *const qual_string = (qual->flags.q.origin_upper_left)
2033 if (qual->flags.q.explicit_location) {
2082 if (qual->location >= 0) {
2084 ? (qual->location + VERT_ATTRIB_GENERIC0)
2085 : (qual->location + FRAG_RESULT_DATA0);
2087 var->location = qual->location;
2090 if (qual->flags.q.explicit_index) {
2100 if (qual->index < 0 || qual->index > 1) {
2105 var->index = qual->index;
2109 } else if (qual->flags.q.explicit_index) {
2116 const bool uses_layout = qual->flags.q.pixel_center_integer
2117 || qual->flags.q.origin_upper_left
2118 || qual->flags.q.explicit_location; /* no need for index since it relies on location */
2123 const bool uses_deprecated_qualifier = qual->flags.q.attribute
2124 || qual->flags.q.varying;
2164 int depth_layout_count = qual->flags.q.depth_any
2165 + qual->flags.q.depth_greater
2166 + qual->flags.q.depth_less
2167 + qual->flags.q.depth_unchanged;
2186 if (qual->flags.q.depth_any)
2188 else if (qual->flags.q.depth_greater)
2190 else if (qual->flags.q.depth_less)
2192 else if (qual->flags.q.depth_unchanged)
2197 if (qual->flags.q.std140 ||
2198 qual->flags.q.packed ||
2199 qual->flags.q.shared) {
2207 (qual->flags.q.row_major || qual->flags.q.column_major)) {