mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-31 22:50:08 +01:00
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:
parent
a0718e8977
commit
2a984da18e
1 changed files with 1 additions and 1 deletions
|
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue