Lines Matching defs:program
104 bool CheckProgram(GLuint program, bool* compile_error = NULL)
108 glGetProgramiv(program, GL_LINK_STATUS, &status);
113 glGetProgramiv(program, GL_ATTACHED_SHADERS, &attached_shaders);
118 glGetAttachedShaders(program, attached_shaders, NULL, &shaders[0]);
171 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &length);
175 glGetProgramInfoLog(program, length, NULL, &log[0]);
807 GLuint program = CreateComputeProgram(glsl_cs_long);
809 glLinkProgram(program);
810 if (!CheckProgram(program))
813 glUseProgram(program);
2523 return "Building CS separable program";
2528 return NL "1. Verify that building separable CS program works as expected." NL
2529 "2. Verify that program consisting from 4 strings works as expected.";
2535 "2. Dispatch and verify CS program.";
3165 "MemoryBarrier command." NL "2. Verify that ProgramParameteri(program, GL_PROGRAM_SEPARABLE, "
3288 "2. Verify that CS program selected with UseProgram is dispatched even if there is active" NL
3317 /* create program A */
5313 GLuint program = CreateComputeProgram(glsl_cs);
5314 glLinkProgram(program);
5315 if (!CheckProgram(program))
5319 glGetProgramiv(program, GL_COMPUTE_WORK_GROUP_SIZE, v);
5328 glDeleteProgram(program);
5364 return NL "API errors - no active program";
5393 "DispatchComputeIndirect if there is no active program for the compute\n"
5413 "DispatchComputeIndirect if there is no active program for the compute\n"
5436 "DispatchComputeIndirect if there is no active program for the compute\n"
5456 "DispatchComputeIndirect if there is no active program for the compute\n"
5679 return NL "API errors - program state";
5717 "COMPUTE_LOCAL_WORK_SIZE and either the program has not been linked\n"
5732 "COMPUTE_LOCAL_WORK_SIZE and either the program has not been linked\n"
5768 << tcu::TestLog::Message << "LinkProgram will fail if <program> contains a combination of compute and\n"
6078 addChild(new TestSubcase(m_context, "api-no-active-program", TestSubcase::Create<NegativeAPINoActiveProgram>));
6081 addChild(new TestSubcase(m_context, "api-program", TestSubcase::Create<NegativeAPIProgram>));