Lines Matching defs:shaders
165 GLuint shaders[2];
188 shaders[0] = ctx.glCreateShader(GL_VERTEX_SHADER);
189 shaders[1] = ctx.glCreateShader(GL_VERTEX_SHADER);
198 ctx.glShaderBinary(1, &shaders[0], -1, 0, 0);
206 ctx.glShaderBinary(1, &shaders[0], binaryFormats[0], &data, 1);
210 ctx.beginSection("GL_INVALID_OPERATION is generated if more than one of the handles in shaders refers to the same type of shader, or GL_INVALID_VALUE due to invalid data pointer.");
211 ctx.glShaderBinary(2, &shaders[0], binaryFormats[0], 0, 0);
222 ctx.beginSection("GL_INVALID_VALUE is generated if shaders contains anything other than shader or program objects.");
227 ctx.beginSection("GL_INVALID_OPERATION is generated if shaders refers to a program object.");
233 ctx.glDeleteShader(shaders[0]);
234 ctx.glDeleteShader(shaders[1]);
2337 ctx.beginSection("Compute Shader should not be linked with shaders of different version.");