Module: Mesa
Branch: master
Commit: f4a4d4607e33695faf17b98f54535df90289657b
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=f4a4d4607e33695faf17b98f54535df90289657b

Author: Erik Faye-Lund <[email protected]>
Date:   Thu Mar 26 11:50:10 2020 +0100

nv50: remove unused variable

This isn't used anymore, so let's get rid of it to silence a warning.

Fixes: c574cda3c6a ("util: Make helper functions for pack/unpacking pixel 
rows.")
Reviewed-by: Karol Herbst <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4330>

---

 src/gallium/drivers/nouveau/nv50/nv50_vbo.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/gallium/drivers/nouveau/nv50/nv50_vbo.c 
b/src/gallium/drivers/nouveau/nv50/nv50_vbo.c
index da4a0171ac6..a8e2a1b3b27 100644
--- a/src/gallium/drivers/nouveau/nv50/nv50_vbo.c
+++ b/src/gallium/drivers/nouveau/nv50/nv50_vbo.c
@@ -144,8 +144,6 @@ nv50_emit_vtxattr(struct nv50_context *nv50, struct 
pipe_vertex_buffer *vb,
    const void *data = (const uint8_t *)vb->buffer.user + ve->src_offset;
    float v[4];
    const unsigned nc = util_format_get_nr_components(ve->src_format);
-   const struct util_format_description *desc =
-      util_format_description(ve->src_format);
 
    assert(vb->is_user_buffer);
 

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to