mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 14:40:10 +01:00
svga: Fixes -Werror,-Wunused-but-set-variable for clang-15 in svga/svga_tgsi_vgpu10.c
error message:
../../src/gallium/drivers/svga/svga_tgsi_vgpu10.c:5199:13: error: variable 'indicesMask' set but not used [-Werror,-Wunused-but-set-variable] unsigned indicesMask = 0;
^
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19527>
This commit is contained in:
parent
e8a2f801af
commit
dd34cdbfa4
1 changed files with 1 additions and 1 deletions
|
|
@ -5196,7 +5196,7 @@ emit_tcs_input_declarations(struct svga_shader_emitter_v10 *emit)
|
|||
{
|
||||
unsigned i;
|
||||
unsigned size = emit->key.tcs.vertices_per_patch;
|
||||
unsigned indicesMask = 0;
|
||||
UNUSED unsigned indicesMask = 0;
|
||||
boolean addSignature = TRUE;
|
||||
|
||||
if (!emit->tcs.control_point_phase)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue