Lines Matching full:uniform
2307 * "uniform lowp sampler2D sampler;
2674 "uniform block layout qualifiers row_major and "
2676 "outside of uniform blocks");
2685 "uniform block layout qualifiers row_major and "
2790 if (!qual->flags.q.uniform && !qual->flags.q.buffer) {
2810 * "If the binding point for any uniform block instance is less than zero,
2812 * number of uniform buffer bindings, a compilation error will occur.
2813 * When the binding identifier is used with a uniform block instanced as
2819 if (qual->flags.q.uniform &&
2829 * "If the binding point for any uniform or shader storage block instance
2831 * implementation-dependent maximum number of uniform buffer bindings, a
2833 * with a uniform or shader storage block instanced as an array of size
2885 "the \"binding\" qualifier only applies to uniform "
3098 if (qual->flags.q.uniform) {
3106 _mesa_glsl_error(loc, state, "location(s) consumed by uniform %s "
3221 /* Check if index was set for the uniform instead of the function */
3264 "function parameters or uniform-qualified "
3550 "function parameters or uniform-qualified "
3634 "uniform and shader storage block layout qualifiers "
3636 "applied to uniform or shader storage blocks, not "
3700 if (qual->flags.q.subroutine && !qual->flags.q.uniform) {
3707 || qual->flags.q.uniform
3771 else if (qual->flags.q.uniform)
4071 * "All uniform variables are read-only and are initialized either
4077 "cannot initialize uniform %s",
4129 /* Calculate the constant value if this is a const or uniform
4142 || type->qualifier.flags.q.uniform
4195 : ((type->qualifier.flags.q.uniform) ? "uniform" : "global");
4234 /* Never emit code to initialize a uniform.
4237 if (!type->qualifier.flags.q.uniform) {
4254 * uniform float a[] = float[](1.0, 2.0, 3.0, 3.0);
4258 * uniform float a[4] = float[](1.0, 2.0, 3.0, 3.0);
4621 allowed_atomic_qual_mask.flags.q.uniform = 1;
4775 * attribute, uniform, or varying. Only one may be
4833 mode = "subroutine uniform";
4834 } else if (this->type->qualifier.flags.q.uniform) {
4835 mode = "uniform";
5148 * parameters or uniform-qualified variables."
5151 !this->type->qualifier.flags.q.uniform) {
5153 "opaque variables must be declared uniform");
5558 * or uniform-qualified variables."
6756 _mesa_glsl_error(&loc, state, "uniform/buffer in non-default "
6810 "uniform/shader storage block layout qualifiers "
6812 "applied to uniform/shader storage blocks, not "
6869 if (qual->flags.q.uniform && qual->has_interpolation()) {
6872 uniform interface blocks");
6875 if ((qual->flags.q.uniform || !is_interface) &&
6879 "in uniform blocks or structures.");
6883 if (!qual->flags.q.uniform && !qual->flags.q.buffer) {
7044 (layout->flags.q.uniform || layout->flags.q.buffer) &&
7057 /* If we're processing an uniform or buffer block, the matrix
7246 * Note the table in Section 4.4 says std430 is allowed on both uniform and
7247 * buffer blocks however Section 4.4.5 (Uniform and Shader Storage Block
7251 * using std430 on a uniform block will result in a compile-time error."
7255 if (this->layout.flags.q.buffer || this->layout.flags.q.uniform) {
7272 allowed_blk_qualifiers.flags.q.uniform = 1;
7312 * with this uniform block.
7335 } else if (this->layout.flags.q.uniform) {
7337 iface_type_name = "uniform";
7667 * For uniform blocks declared an array, each individual array
7670 * of buffer objects needed, uniform block array declarations
7707 /* by elimination, this is a uniform block array */
7709 "unsized uniform block arrays not allowed in "