Lines Matching refs:value
946 /* If the program has not been linked, return initial value 0. */
2495 * Since any value of binaryFormat passed "is not one of those specified as
2508 GLuint pname, GLint value, bool no_error)
2522 * "An INVALID_VALUE error is generated if the <value> argument to
2525 if (!no_error && value != GL_TRUE && value != GL_FALSE) {
2536 * PROGRAM_BINARY_RETRIEVABLE_HINT and <value> TRUE. This setting
2549 shProg->BinaryRetrievableHintPending = value;
2556 if (!no_error && value != GL_TRUE && value != GL_FALSE) {
2559 shProg->SeparateShader = value;
2572 "glProgramParameteri(pname=%s, value=%d): "
2573 "value must be 0 or 1.",
2575 value);
2580 _mesa_ProgramParameteri_no_error(GLuint program, GLenum pname, GLint value)
2585 program_parameteri(ctx, shProg, pname, value, true);
2590 _mesa_ProgramParameteri(GLuint program, GLenum pname, GLint value)
2600 program_parameteri(ctx, shProg, pname, value, false);
2731 set_patch_vertices(struct gl_context *ctx, GLint value)
2733 if (ctx->TessCtrlProgram.patch_vertices != value) {
2736 ctx->TessCtrlProgram.patch_vertices = value;
2744 _mesa_PatchParameteri_no_error(GLenum pname, GLint value)
2748 set_patch_vertices(ctx, value);
2753 _mesa_PatchParameteri(GLenum pname, GLint value)
2767 if (value <= 0 || value > ctx->Const.MaxPatchVertices) {
2772 set_patch_vertices(ctx, value);
3154 * need of the program to be linked, being the value for that case 0.
3160 * * Setting a default value of 0, to be returned if not linked.