Lines Matching refs:_mesa_error
264 _mesa_error(ctx, GL_OUT_OF_MEMORY, "glAttachShader"); in attach_shader()
302 _mesa_error(ctx, GL_INVALID_OPERATION, "%s", caller); in attach_shader_err()
314 _mesa_error(ctx, GL_INVALID_OPERATION, "%s", caller); in attach_shader_err()
355 _mesa_error(ctx, GL_INVALID_ENUM, "%s(%s)", in create_shader_err()
464 _mesa_error(ctx, GL_OUT_OF_MEMORY, "glDetachShader"); in detach_shader()
503 _mesa_error(ctx, err, "glDetachShader(shader)"); in detach_shader()
535 _mesa_error(ctx, GL_INVALID_VALUE, "glGetAttachedShaders(maxCount < 0)"); in get_attached_shaders()
572 _mesa_error(ctx, GL_INVALID_ENUM, "glGetHandleARB"); in get_handle()
597 _mesa_error(ctx, GL_INVALID_OPERATION, in check_gs_query()
622 _mesa_error(ctx, GL_INVALID_OPERATION, in check_tcs_query()
648 _mesa_error(ctx, GL_INVALID_OPERATION, "glGetProgramv(linked tessellation " in check_tes_query()
926 _mesa_error(ctx, GL_INVALID_OPERATION, "glGetProgramiv(program not " in get_programiv()
931 _mesa_error(ctx, GL_INVALID_OPERATION, "glGetProgramiv(no compute " in get_programiv()
1004 _mesa_error(ctx, GL_INVALID_ENUM, "glGetProgramiv(pname=%s)", in get_programiv()
1047 _mesa_error(ctx, GL_INVALID_ENUM, "glGetShaderiv(pname)"); in get_shaderiv()
1066 _mesa_error(ctx, GL_INVALID_VALUE, "glGetProgramInfoLog(bufSize < 0)"); in get_program_info_log()
1093 _mesa_error(ctx, GL_INVALID_VALUE, "glGetShaderInfoLog(bufSize < 0)"); in get_shader_info_log()
1116 _mesa_error(ctx, GL_INVALID_VALUE, "glGetShaderSource(bufSize < 0)"); in get_shader_source()
1190 _mesa_error(ctx, GL_INVALID_OPERATION, "glCompileShader(SPIR-V)"); in _mesa_compile_shader()
1293 _mesa_error(ctx, GL_INVALID_OPERATION, in link_program()
1484 _mesa_error(ctx, GL_INVALID_OPERATION, in _mesa_active_program()
1781 _mesa_error(ctx, GL_INVALID_OPERATION, "glGetInfoLogARB"); in _mesa_GetInfoLogARB()
1808 _mesa_error(ctx, GL_INVALID_VALUE, "glGetObjectParameterivARB"); in _mesa_GetObjectParameterivARB()
2051 _mesa_error(ctx, GL_INVALID_VALUE, "glShaderSourceARB"); in shader_source()
2064 _mesa_error(ctx, GL_OUT_OF_MEMORY, "glShaderSourceARB"); in shader_source()
2071 _mesa_error(ctx, GL_INVALID_OPERATION, in shader_source()
2092 _mesa_error(ctx, GL_OUT_OF_MEMORY, "glShaderSourceARB"); in shader_source()
2158 _mesa_error(ctx, GL_INVALID_OPERATION, in use_program()
2170 _mesa_error(ctx, GL_INVALID_OPERATION, in use_program()
2256 _mesa_error(ctx, GL_INVALID_ENUM, in _mesa_GetShaderPrecisionFormat()
2281 _mesa_error(ctx, GL_INVALID_ENUM, in _mesa_GetShaderPrecisionFormat()
2325 _mesa_error(ctx, GL_INVALID_VALUE, "glShaderBinary(count or length < 0)"); in _mesa_ShaderBinary()
2333 _mesa_error(ctx, GL_OUT_OF_MEMORY, "glShaderBinary(count)"); in _mesa_ShaderBinary()
2339 _mesa_error(ctx, GL_OUT_OF_MEMORY, "glShaderBinary"); in _mesa_ShaderBinary()
2351 _mesa_error(ctx, GL_INVALID_OPERATION, "glShaderBinary(SPIR-V)"); in _mesa_ShaderBinary()
2360 _mesa_error(ctx, GL_INVALID_ENUM, "glShaderBinary(format)"); in _mesa_ShaderBinary()
2373 _mesa_error(ctx, GL_INVALID_VALUE, "glGetProgramBinary(bufSize < 0)"); in _mesa_GetProgramBinary()
2399 _mesa_error(ctx, GL_INVALID_OPERATION, in _mesa_GetProgramBinary()
2408 _mesa_error(ctx, GL_INVALID_OPERATION, in _mesa_GetProgramBinary()
2437 _mesa_error(ctx, GL_INVALID_VALUE, "glProgramBinary(length < 0)"); in _mesa_ProgramBinary()
2456 _mesa_error(ctx, GL_INVALID_ENUM, "glProgramBinary"); in _mesa_ProgramBinary()
2521 _mesa_error(ctx, GL_INVALID_ENUM, "glProgramParameteri(pname=%s)", in program_parameteri()
2528 _mesa_error(ctx, GL_INVALID_VALUE, in program_parameteri()
2646 _mesa_error(ctx, GL_INVALID_VALUE, "glCreateShaderProgram (count < 0)"); in _mesa_CreateShaderProgramv()
2708 _mesa_error(ctx, GL_INVALID_OPERATION, "glPatchParameteri"); in _mesa_PatchParameteri()
2713 _mesa_error(ctx, GL_INVALID_ENUM, "glPatchParameteri"); in _mesa_PatchParameteri()
2718 _mesa_error(ctx, GL_INVALID_VALUE, "glPatchParameteri"); in _mesa_PatchParameteri()
2733 _mesa_error(ctx, GL_INVALID_OPERATION, "glPatchParameterfv"); in _mesa_PatchParameterfv()
2751 _mesa_error(ctx, GL_INVALID_ENUM, "glPatchParameterfv"); in _mesa_PatchParameterfv()
2770 _mesa_error(ctx, GL_INVALID_OPERATION, "%s", api_name); in _mesa_GetSubroutineUniformLocation()
2780 _mesa_error(ctx, GL_INVALID_OPERATION, "%s", api_name); in _mesa_GetSubroutineUniformLocation()
2800 _mesa_error(ctx, GL_INVALID_OPERATION, "%s", api_name); in _mesa_GetSubroutineIndex()
2810 _mesa_error(ctx, GL_INVALID_OPERATION, "%s", api_name); in _mesa_GetSubroutineIndex()
2839 _mesa_error(ctx, GL_INVALID_OPERATION, "%s", api_name); in _mesa_GetActiveSubroutineUniformiv()
2852 _mesa_error(ctx, GL_INVALID_OPERATION, "%s", api_name); in _mesa_GetActiveSubroutineUniformiv()
2858 …_mesa_error(ctx, GL_INVALID_VALUE, "%s: invalid index greater than GL_ACTIVE_SUBROUTINE_UNIFORMS",… in _mesa_GetActiveSubroutineUniformiv()
2903 _mesa_error(ctx, GL_INVALID_OPERATION, "%s", api_name); in _mesa_GetActiveSubroutineUniformiv()
2921 _mesa_error(ctx, GL_INVALID_OPERATION, "%s", api_name); in _mesa_GetActiveSubroutineUniformName()
2931 _mesa_error(ctx, GL_INVALID_OPERATION, "%s", api_name); in _mesa_GetActiveSubroutineUniformName()
2955 _mesa_error(ctx, GL_INVALID_OPERATION, "%s", api_name); in _mesa_GetActiveSubroutineName()
2965 _mesa_error(ctx, GL_INVALID_OPERATION, "%s", api_name); in _mesa_GetActiveSubroutineName()
2984 _mesa_error(ctx, GL_INVALID_OPERATION, "%s", api_name); in _mesa_UniformSubroutinesuiv()
2991 _mesa_error(ctx, GL_INVALID_OPERATION, "%s", api_name); in _mesa_UniformSubroutinesuiv()
2996 _mesa_error(ctx, GL_INVALID_VALUE, "%s", api_name); in _mesa_UniformSubroutinesuiv()
3020 _mesa_error(ctx, GL_INVALID_VALUE, "%s", api_name); in _mesa_UniformSubroutinesuiv()
3038 _mesa_error(ctx, GL_INVALID_OPERATION, "%s", api_name); in _mesa_UniformSubroutinesuiv()
3058 _mesa_error(ctx, GL_INVALID_OPERATION, "%s", api_name); in _mesa_GetUniformSubroutineuiv()
3065 _mesa_error(ctx, GL_INVALID_OPERATION, "%s", api_name); in _mesa_GetUniformSubroutineuiv()
3070 _mesa_error(ctx, GL_INVALID_VALUE, "%s", api_name); in _mesa_GetUniformSubroutineuiv()
3089 _mesa_error(ctx, GL_INVALID_OPERATION, "%s", api_name); in _mesa_GetProgramStageiv()
3116 _mesa_error(ctx, GL_INVALID_OPERATION, "%s", api_name); in _mesa_GetProgramStageiv()
3173 _mesa_error(ctx, GL_INVALID_ENUM, "%s", api_name); in _mesa_GetProgramStageiv()
3292 _mesa_error(ctx, GL_INVALID_VALUE, in validate_and_tokenise_sh_incl()
3308 _mesa_error(ctx, GL_INVALID_VALUE, in validate_and_tokenise_sh_incl()
3450 _mesa_error(ctx, GL_INVALID_VALUE, "%s(NULL string)", caller); in copy_string()
3473 _mesa_error(ctx, GL_INVALID_VALUE, "%s(invalid type)", caller); in _mesa_NamedStringARB()
3545 _mesa_error(ctx, GL_INVALID_OPERATION, in _mesa_DeleteNamedStringARB()
3569 _mesa_error(ctx, GL_INVALID_VALUE, "%s(count > 0 && path == NULL)", in _mesa_CompileShaderIncludeARB()
3609 _mesa_error(ctx, GL_INVALID_OPERATION, "%s(shader)", caller); in _mesa_CompileShaderIncludeARB()
3657 _mesa_error(ctx, GL_INVALID_OPERATION, in _mesa_GetNamedStringARB()
3685 _mesa_error(ctx, GL_INVALID_OPERATION, in _mesa_GetNamedStringivARB()
3699 _mesa_error(ctx, GL_INVALID_ENUM, "%s(pname)", caller); in _mesa_GetNamedStringivARB()