Lines Matching refs:shader
419 GLuint shader = glCreateShader(shaderType); in loadShader() local
421 if (shader) { in loadShader()
422 glShaderSource(shader, 1, &pSource, NULL); in loadShader()
424 glCompileShader(shader); in loadShader()
427 glGetShaderiv(shader, GL_COMPILE_STATUS, &compiled); in loadShader()
431 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &infoLen); in loadShader()
436 glGetShaderInfoLog(shader, infoLen, NULL, buf); in loadShader()
443 glGetShaderInfoLog(shader, 0x1000, NULL, buf); in loadShader()
448 glDeleteShader(shader); in loadShader()
449 shader = 0; in loadShader()
452 ASSERT(shader != 0); in loadShader()
453 *outShader = shader; in loadShader()