• Home
  • Raw
  • Download

Lines Matching refs:qual

1799 apply_type_qualifier_to_variable(const struct ast_type_qualifier *qual,  in apply_type_qualifier_to_variable()  argument
1804 if (qual->flags.q.invariant) in apply_type_qualifier_to_variable()
1808 if (qual->flags.q.constant || qual->flags.q.attribute in apply_type_qualifier_to_variable()
1809 || qual->flags.q.uniform in apply_type_qualifier_to_variable()
1810 || (qual->flags.q.varying && (state->target == fragment_shader))) in apply_type_qualifier_to_variable()
1813 if (qual->flags.q.centroid) in apply_type_qualifier_to_variable()
1816 if (qual->flags.q.attribute && state->target != vertex_shader) { in apply_type_qualifier_to_variable()
1830 if (qual->flags.q.varying) { in apply_type_qualifier_to_variable()
1848 if (qual->flags.q.in && qual->flags.q.out) in apply_type_qualifier_to_variable()
1850 else if (qual->flags.q.attribute || qual->flags.q.in in apply_type_qualifier_to_variable()
1851 || (qual->flags.q.varying && (state->target == fragment_shader))) in apply_type_qualifier_to_variable()
1853 else if (qual->flags.q.out in apply_type_qualifier_to_variable()
1854 || (qual->flags.q.varying && (state->target == vertex_shader))) in apply_type_qualifier_to_variable()
1856 else if (qual->flags.q.uniform) in apply_type_qualifier_to_variable()
1859 if (qual->flags.q.flat) in apply_type_qualifier_to_variable()
1861 else if (qual->flags.q.noperspective) in apply_type_qualifier_to_variable()
1866 var->pixel_center_integer = qual->flags.q.pixel_center_integer; in apply_type_qualifier_to_variable()
1867 var->origin_upper_left = qual->flags.q.origin_upper_left; in apply_type_qualifier_to_variable()
1868 if ((qual->flags.q.origin_upper_left || qual->flags.q.pixel_center_integer) in apply_type_qualifier_to_variable()
1870 const char *const qual_string = (qual->flags.q.origin_upper_left) in apply_type_qualifier_to_variable()
1879 if (qual->flags.q.explicit_location) { in apply_type_qualifier_to_variable()
1928 if (qual->location >= 0) { in apply_type_qualifier_to_variable()
1930 ? (qual->location + VERT_ATTRIB_GENERIC0) in apply_type_qualifier_to_variable()
1931 : (qual->location + FRAG_RESULT_DATA0); in apply_type_qualifier_to_variable()
1933 var->location = qual->location; in apply_type_qualifier_to_variable()