Lines Matching refs:used

185    /* Figure out if gl_FragCoord is actually used in fragment shader */
188 state->fs_uses_gl_fragcoord = var->data.used;
825 * In addition to being used for assignments, this function is used to
840 * If a per-vertex output variable is used as an l-value, it is an error
1329 /* is_lhs is tracked only to print "variable used uninitialized" warnings,
2015 /* Getting if an array is being used uninitialized is beyond what we get
2058 var->data.used = true;
2065 _mesa_glsl_warning(&loc, state, "`%s' used uninitialized",
2477 * can be used to establish a default precision qualifier. The type field can
2887 "xfb_offset can't be used with unsized arrays.");
2974 * When the binding identifier is used with a uniform block instanced as
2993 * compile-time error will occur. When the binding identifier is used
3010 * compilation error will occur. When the binding identifier is used
3109 * values; doubles used as fragment shader inputs must be qualified as
3409 "used with subroutine functions");
3518 * "Format layout qualifiers can be used on image variable declarations
3555 _mesa_glsl_error(loc, state, "format qualifiers cannot be used on "
3568 _mesa_glsl_warning(loc, state, "GL_EXT_image_load_formatted used");
3740 earlier->data.used &&
3743 "gl_FragCoord used before its first redeclaration "
3883 /* Is the 'layout' keyword used with parameters that allow relaxed checking.
3886 * allowed the layout qualifier to be used with 'varying' and 'attribute'.
3911 "`layout' qualifier may not be used with "
3915 "`layout' qualifier may not be used with "
4034 if (var->data.used) {
4037 "`invariant' after being used",
4046 if (var->data.used) {
4049 "`precise' after being used",
4099 * "However, the const qualifier cannot be used with out or inout."
4103 * "The const qualifier cannot be used with out or inout, or a
4187 /* This variable is being used to link data between shader stages (in
4193 * "The varying qualifier can be used only with the data types
4295 "sample qualifier may only be used on `in` or `out` "
4300 "centroid qualifier may only be used with `in', "
4306 "the shared storage qualifiers can only be used with "
4439 if (earlier->data.used) {
4495 if (earlier->data.used) {
4646 * hence cannot be used to declare an array size.
4963 * necessary to use the invariant qualifier. It can either be used to
4994 } else if (earlier->data.used) {
4997 "`invariant' after being used",
5032 } else if (earlier->data.used) {
5035 "`precise' after being used",
5299 /* The 'varying in' and 'varying out' qualifiers can only be used with
5423 * "The attribute qualifier can be used only with float,
5671 _mesa_glsl_error(&loc, state, "'patch in' can only be used in a "
5679 _mesa_glsl_error(&loc, state, "'patch out' can only be used in a "
5867 * one is used for the declaration in
5962 * be used as out or inout function parameters, nor can they be
5967 * "Samplers can be used as l-values, so can be assigned into and used
5972 * "Images can be used as l-values, so can be assigned into and used as
6096 * used below to compare this function's signature with previously seen
6662 * "Any expression whose type evaluates to a Boolean can be used as the
6708 * This is only used to generate error messages for duplicate labels.
6809 /* Loop around the switch is used for flow control. */
7234 * can be used to establish a default precision qualifier. The type field
7281 * can be used to establish a default precision qualifier. The type
7588 "interpolation qualifiers cannot be used "
7595 "auxiliary storage qualifiers cannot be used "
7661 /* Offset can only be used with std430 and std140 layouts an initial
7662 * value of 0 is used for error detection.
7701 _mesa_glsl_error(&loc, state, "offset can only be used "
7711 _mesa_glsl_error(&loc, state, "align can only be used with "
7918 * Visitor class which detects whether a given interface block has been used.
7994 * "Additionally, memory qualifiers may also be used in the declaration
8201 "already used in the scope.",
8384 * "If an instance name (instance-name) is used, then it puts all the
9117 /* If the interface block is used by the shader, then we don't need to do