compiler/glsl: drop rogue argument to _mesa_glsl_error
This arugment is not present int the format-string, so we shouldn't pass
it to _mesa_glsl_error either.
Noticed by Coverity.
Fixes: 02dc74fbd7 ("glsl: parse invocations layout qualifier for ARB_gpu_shader5")
Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9911>
This commit is contained in:
committed by
Marge Bot
parent
a0718e8977
commit
2a984da18e
@@ -1863,7 +1863,7 @@ layout_qualifier_id:
|
||||
!state->EXT_geometry_shader_enable) {
|
||||
_mesa_glsl_error(& @3, state,
|
||||
"GL_ARB_gpu_shader5 invocations "
|
||||
"qualifier specified", $3);
|
||||
"qualifier specified");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user