Lines Matching defs:shader
56 LOG_ERROR("Failed to create shader program");
64 unsigned shader = m_context->createShader(type);
65 if (!shader)
68 GLC(m_context, m_context->shaderSource(shader, sourceString));
69 GLC(m_context, m_context->compileShader(shader));
71 GLC(m_context, m_context->getShaderiv(shader, GraphicsContext3D::COMPILE_STATUS, &compiled));
73 GLC(m_context, m_context->deleteShader(shader));
76 return shader;
83 LOG_ERROR("Failed to create vertex shader");
90 LOG_ERROR("Failed to create fragment shader");
96 LOG_ERROR("Failed to create shader program");
111 LOG_ERROR("Failed to link shader program");