Lines Matching full:shader
254 GLuint shader = glCreateShader(shaderType);
256 if (shader) {
257 glShaderSource(shader, 1, &pSource, NULL);
259 glCompileShader(shader);
262 glGetShaderiv(shader, GL_COMPILE_STATUS, &compiled);
266 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &infoLen);
271 glGetShaderInfoLog(shader, infoLen, NULL, buf);
272 printf("Shader compile log:\n%s\n", buf);
279 glGetShaderInfoLog(shader, 0x1000, NULL, buf);
280 printf("Shader compile log:\n%s\n", buf);
285 glDeleteShader(shader);
286 shader = 0;
289 ASSERT_TRUE(shader != 0);
290 *outShader = shader;
297 SCOPED_TRACE("compiling vertex shader");
302 SCOPED_TRACE("compiling fragment shader");