Lines Matching refs:_mesa_error
258 _mesa_error(ctx, GL_OUT_OF_MEMORY, "glAttachShader"); in attach_shader()
296 _mesa_error(ctx, GL_INVALID_OPERATION, "%s", caller); in attach_shader_err()
308 _mesa_error(ctx, GL_INVALID_OPERATION, "%s", caller); in attach_shader_err()
349 _mesa_error(ctx, GL_INVALID_ENUM, "%s(%s)", in create_shader_err()
458 _mesa_error(ctx, GL_OUT_OF_MEMORY, "glDetachShader"); in detach_shader()
497 _mesa_error(ctx, err, "glDetachShader(shader)"); in detach_shader()
529 _mesa_error(ctx, GL_INVALID_VALUE, "glGetAttachedShaders(maxCount < 0)"); in get_attached_shaders()
566 _mesa_error(ctx, GL_INVALID_ENUM, "glGetHandleARB"); in get_handle()
591 _mesa_error(ctx, GL_INVALID_OPERATION, in check_gs_query()
616 _mesa_error(ctx, GL_INVALID_OPERATION, in check_tcs_query()
642 _mesa_error(ctx, GL_INVALID_OPERATION, "glGetProgramv(linked tessellation " in check_tes_query()
857 _mesa_error(ctx, GL_INVALID_OPERATION, "glGetProgramiv(program not " in get_programiv()
862 _mesa_error(ctx, GL_INVALID_OPERATION, "glGetProgramiv(no compute " in get_programiv()
935 _mesa_error(ctx, GL_INVALID_ENUM, "glGetProgramiv(pname=%s)", in get_programiv()
974 _mesa_error(ctx, GL_INVALID_ENUM, "glGetShaderiv(pname)"); in get_shaderiv()
993 _mesa_error(ctx, GL_INVALID_VALUE, "glGetProgramInfoLog(bufSize < 0)"); in get_program_info_log()
1020 _mesa_error(ctx, GL_INVALID_VALUE, "glGetShaderInfoLog(bufSize < 0)"); in get_shader_info_log()
1043 _mesa_error(ctx, GL_INVALID_VALUE, "glGetShaderSource(bufSize < 0)"); in get_shader_source()
1109 _mesa_error(ctx, GL_INVALID_OPERATION, "glCompileShader(SPIR-V)"); in _mesa_compile_shader()
1187 _mesa_error(ctx, GL_INVALID_OPERATION, in link_program()
1346 _mesa_error(ctx, GL_INVALID_OPERATION, in _mesa_active_program()
1643 _mesa_error(ctx, GL_INVALID_OPERATION, "glGetInfoLogARB"); in _mesa_GetInfoLogARB()
1670 _mesa_error(ctx, GL_INVALID_VALUE, "glGetObjectParameterivARB"); in _mesa_GetObjectParameterivARB()
1910 _mesa_error(ctx, GL_INVALID_VALUE, "glShaderSourceARB"); in shader_source()
1923 _mesa_error(ctx, GL_OUT_OF_MEMORY, "glShaderSourceARB"); in shader_source()
1930 _mesa_error(ctx, GL_INVALID_OPERATION, in shader_source()
1951 _mesa_error(ctx, GL_OUT_OF_MEMORY, "glShaderSourceARB"); in shader_source()
2017 _mesa_error(ctx, GL_INVALID_OPERATION, in use_program()
2029 _mesa_error(ctx, GL_INVALID_OPERATION, in use_program()
2113 _mesa_error(ctx, GL_INVALID_ENUM, in _mesa_GetShaderPrecisionFormat()
2138 _mesa_error(ctx, GL_INVALID_ENUM, in _mesa_GetShaderPrecisionFormat()
2177 _mesa_error(ctx, GL_INVALID_VALUE, "glShaderBinary(count or length < 0)"); in _mesa_ShaderBinary()
2185 _mesa_error(ctx, GL_OUT_OF_MEMORY, "glShaderBinary(count)"); in _mesa_ShaderBinary()
2191 _mesa_error(ctx, GL_OUT_OF_MEMORY, "glShaderBinary"); in _mesa_ShaderBinary()
2203 _mesa_error(ctx, GL_INVALID_OPERATION, "glShaderBinary(SPIR-V)"); in _mesa_ShaderBinary()
2212 _mesa_error(ctx, GL_INVALID_ENUM, "glShaderBinary(format)"); in _mesa_ShaderBinary()
2225 _mesa_error(ctx, GL_INVALID_VALUE, "glGetProgramBinary(bufSize < 0)"); in _mesa_GetProgramBinary()
2251 _mesa_error(ctx, GL_INVALID_OPERATION, in _mesa_GetProgramBinary()
2260 _mesa_error(ctx, GL_INVALID_OPERATION, in _mesa_GetProgramBinary()
2289 _mesa_error(ctx, GL_INVALID_VALUE, "glProgramBinary(length < 0)"); in _mesa_ProgramBinary()
2308 _mesa_error(ctx, GL_INVALID_ENUM, "glProgramBinary"); in _mesa_ProgramBinary()
2373 _mesa_error(ctx, GL_INVALID_ENUM, "glProgramParameteri(pname=%s)", in program_parameteri()
2380 _mesa_error(ctx, GL_INVALID_VALUE, in program_parameteri()
2495 _mesa_error(ctx, GL_INVALID_VALUE, "glCreateShaderProgram (count < 0)"); in _mesa_CreateShaderProgramv()
2556 _mesa_error(ctx, GL_INVALID_OPERATION, "glPatchParameteri"); in _mesa_PatchParameteri()
2561 _mesa_error(ctx, GL_INVALID_ENUM, "glPatchParameteri"); in _mesa_PatchParameteri()
2566 _mesa_error(ctx, GL_INVALID_VALUE, "glPatchParameteri"); in _mesa_PatchParameteri()
2580 _mesa_error(ctx, GL_INVALID_OPERATION, "glPatchParameterfv"); in _mesa_PatchParameterfv()
2598 _mesa_error(ctx, GL_INVALID_ENUM, "glPatchParameterfv"); in _mesa_PatchParameterfv()
2617 _mesa_error(ctx, GL_INVALID_OPERATION, "%s", api_name); in _mesa_GetSubroutineUniformLocation()
2627 _mesa_error(ctx, GL_INVALID_OPERATION, "%s", api_name); in _mesa_GetSubroutineUniformLocation()
2647 _mesa_error(ctx, GL_INVALID_OPERATION, "%s", api_name); in _mesa_GetSubroutineIndex()
2657 _mesa_error(ctx, GL_INVALID_OPERATION, "%s", api_name); in _mesa_GetSubroutineIndex()
2686 _mesa_error(ctx, GL_INVALID_OPERATION, "%s", api_name); in _mesa_GetActiveSubroutineUniformiv()
2699 _mesa_error(ctx, GL_INVALID_OPERATION, "%s", api_name); in _mesa_GetActiveSubroutineUniformiv()
2705 …_mesa_error(ctx, GL_INVALID_VALUE, "%s: invalid index greater than GL_ACTIVE_SUBROUTINE_UNIFORMS",… in _mesa_GetActiveSubroutineUniformiv()
2750 _mesa_error(ctx, GL_INVALID_OPERATION, "%s", api_name); in _mesa_GetActiveSubroutineUniformiv()
2768 _mesa_error(ctx, GL_INVALID_OPERATION, "%s", api_name); in _mesa_GetActiveSubroutineUniformName()
2778 _mesa_error(ctx, GL_INVALID_OPERATION, "%s", api_name); in _mesa_GetActiveSubroutineUniformName()
2802 _mesa_error(ctx, GL_INVALID_OPERATION, "%s", api_name); in _mesa_GetActiveSubroutineName()
2812 _mesa_error(ctx, GL_INVALID_OPERATION, "%s", api_name); in _mesa_GetActiveSubroutineName()
2831 _mesa_error(ctx, GL_INVALID_OPERATION, "%s", api_name); in _mesa_UniformSubroutinesuiv()
2838 _mesa_error(ctx, GL_INVALID_OPERATION, "%s", api_name); in _mesa_UniformSubroutinesuiv()
2843 _mesa_error(ctx, GL_INVALID_VALUE, "%s", api_name); in _mesa_UniformSubroutinesuiv()
2867 _mesa_error(ctx, GL_INVALID_VALUE, "%s", api_name); in _mesa_UniformSubroutinesuiv()
2885 _mesa_error(ctx, GL_INVALID_OPERATION, "%s", api_name); in _mesa_UniformSubroutinesuiv()
2905 _mesa_error(ctx, GL_INVALID_OPERATION, "%s", api_name); in _mesa_GetUniformSubroutineuiv()
2912 _mesa_error(ctx, GL_INVALID_OPERATION, "%s", api_name); in _mesa_GetUniformSubroutineuiv()
2917 _mesa_error(ctx, GL_INVALID_VALUE, "%s", api_name); in _mesa_GetUniformSubroutineuiv()
2936 _mesa_error(ctx, GL_INVALID_OPERATION, "%s", api_name); in _mesa_GetProgramStageiv()
2963 _mesa_error(ctx, GL_INVALID_OPERATION, "%s", api_name); in _mesa_GetProgramStageiv()
3020 _mesa_error(ctx, GL_INVALID_ENUM, "%s", api_name); in _mesa_GetProgramStageiv()