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

Author: Kenneth Graunke <kenn...@whitecape.org>
Date:   Sun Mar 12 22:39:51 2017 -0700

i965: Delete unused last_ring local.

Dead since 071d80bde2a78f464a7f54c3e6c6e42845ef52e4, and causing
warnings.

---

 src/mesa/drivers/dri/i965/intel_batchbuffer.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/mesa/drivers/dri/i965/intel_batchbuffer.c 
b/src/mesa/drivers/dri/i965/intel_batchbuffer.c
index 8e44982..8875042 100644
--- a/src/mesa/drivers/dri/i965/intel_batchbuffer.c
+++ b/src/mesa/drivers/dri/i965/intel_batchbuffer.c
@@ -129,7 +129,6 @@ intel_batchbuffer_require_space(struct brw_context *brw, 
GLuint sz,
    if (intel_batchbuffer_space(&brw->batch) < sz)
       intel_batchbuffer_flush(brw);
 
-   enum brw_gpu_ring prev_ring = brw->batch.ring;
    /* The intel_batchbuffer_flush() calls above might have changed
     * brw->batch.ring to UNKNOWN_RING, so we need to set it here at the end.
     */

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to