Home | History | Annotate | Download | only in functional

Lines Matching full:shaders

148 			GLuint shaders[2];
150 shaders[0] = glCreateShader(GL_VERTEX_SHADER);
151 shaders[1] = glCreateShader(GL_VERTEX_SHADER);
155 glShaderBinary(1, &shaders[0], -1, 0, 0);
161 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if any value in shaders is not a value generated by OpenGL.");
162 shaders[0] = 137;
163 glShaderBinary(1, &shaders[0], binaryFormats[0], 0, 0);
168 shaders[0] = glCreateShader(GL_VERTEX_SHADER);
169 glShaderBinary(-1, &shaders[0], binaryFormats[0], 0, 0);
171 glShaderBinary(1, &shaders[0], binaryFormats[0], 0, -1);
175 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if any value in shaders is not a shader object.");
180 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if there is more than one vertex shader object handle or more than one fragment shader object handle in shaders.");
181 shaders[0] = glCreateShader(GL_VERTEX_SHADER);
182 shaders[1] = glCreateShader(GL_VERTEX_SHADER);
183 glShaderBinary(2, &shaders[0], binaryFormats[0], 0, 1);
188 glDeleteShader(shaders[0]);
189 glDeleteShader(shaders[1]);