Lines Matching refs:isShaderOrProgramObject
1895 SET_ERROR_IF(!ctx->m_shared->isShaderOrProgramObject(shader), GL_INVALID_VALUE); in s_glShaderSource()
2014 bool isShaderOrProgramObject = \
2015 ctx->m_shared->isShaderOrProgramObject(program); \
2018 SET_ERROR_IF(!isShaderOrProgramObject, GL_INVALID_VALUE); \
2022 bool isShaderOrProgramObject = \
2023 ctx->m_shared->isShaderOrProgramObject(program); \
2026 RET_AND_SET_ERROR_IF(!isShaderOrProgramObject, GL_INVALID_VALUE, ret); \
2030 bool isShaderOrProgramObject = \
2031 ctx->m_shared->isShaderOrProgramObject(shader); \
2034 SET_ERROR_IF(!isShaderOrProgramObject, GL_INVALID_VALUE); \
2051 SET_ERROR_IF(!ctx->m_shared->isShaderOrProgramObject(program), GL_INVALID_VALUE); in s_glGetUniformiv()
2061 SET_ERROR_IF(!ctx->m_shared->isShaderOrProgramObject(program), GL_INVALID_VALUE); in s_glGetUniformfv()
2149 bool isShaderOrProgramObject = in s_glDeleteShader() local
2150 ctx->m_shared->isShaderOrProgramObject(shader); in s_glDeleteShader()
2154 SET_ERROR_IF(isShaderOrProgramObject && !isShader, GL_INVALID_OPERATION); in s_glDeleteShader()
2155 SET_ERROR_IF(!isShaderOrProgramObject && !isShader, GL_INVALID_VALUE); in s_glDeleteShader()
2164 bool programIsShaderOrProgram = ctx->m_shared->isShaderOrProgramObject(program); in s_glAttachShader()
2166 bool shaderIsShaderOrProgram = ctx->m_shared->isShaderOrProgramObject(shader); in s_glAttachShader()
2182 bool programIsShaderOrProgram = ctx->m_shared->isShaderOrProgramObject(program); in s_glDetachShader()
2184 bool shaderIsShaderOrProgram = ctx->m_shared->isShaderOrProgramObject(shader); in s_glDetachShader()
2214 bool isShaderOrProgramObject = in s_glGetUniformLocation() local
2215 ctx->m_shared->isShaderOrProgramObject(program); in s_glGetUniformLocation()
2219 RET_AND_SET_ERROR_IF(!isShaderOrProgramObject, GL_INVALID_VALUE, -1); in s_glGetUniformLocation()
2281 SET_ERROR_IF(program && !shared->isShaderOrProgramObject(program), GL_INVALID_VALUE); in s_glUseProgram()
4076 SET_ERROR_IF(!ctx->m_shared->isShaderOrProgramObject(program), GL_INVALID_VALUE); in s_glGetUniformuiv()
5529 SET_ERROR_IF(program && !shared->isShaderOrProgramObject(program), GL_INVALID_VALUE); in s_glActiveShaderProgram()
5849 SET_ERROR_IF(program && !shared->isShaderOrProgramObject(program), GL_INVALID_VALUE); in s_glUseProgramStages()
6335 bool isShaderOrProgramObject = in s_glCompileShader() local
6336 ctx->m_shared->isShaderOrProgramObject(shader); in s_glCompileShader()
6340 SET_ERROR_IF(isShaderOrProgramObject && !isShader, GL_INVALID_OPERATION); in s_glCompileShader()
6341 SET_ERROR_IF(!isShaderOrProgramObject && !isShader, GL_INVALID_VALUE); in s_glCompileShader()
6430 bool isShaderOrProgramObject = in s_glGetAttribLocation() local
6431 ctx->m_shared->isShaderOrProgramObject(program); in s_glGetAttribLocation()
6435 RET_AND_SET_ERROR_IF(!isShaderOrProgramObject, GL_INVALID_VALUE, -1); in s_glGetAttribLocation()