aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarcin Ślusarz <[email protected]>2020-04-29 16:52:40 +0200
committerMarge Bot <[email protected]>2020-04-29 21:16:45 +0000
commit2efa76f795cb2b2bf00b317c580aeeeddd1e9bc2 (patch)
tree5c02f912a75b4e506428323ade18f58ce03c3f84 /src
parent85fe0e551fc045d03aa7739d0f1d887484ec6d12 (diff)
i965: remove unused variable
Last use was removed in 54525808aa58. Signed-off-by: Marcin Ślusarz <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4809>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i965/brw_wm_surface_state.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c b/src/mesa/drivers/dri/i965/brw_wm_surface_state.c
index a200468ac2a..f51789799e7 100644
--- a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c
+++ b/src/mesa/drivers/dri/i965/brw_wm_surface_state.c
@@ -1327,8 +1327,6 @@ upload_buffer_surface(struct brw_context *brw,
enum isl_format format,
unsigned reloc_flags)
{
- struct gl_context *ctx = &brw->ctx;
-
if (!binding->BufferObject) {
emit_null_surface_state(brw, NULL, out_offset);
} else {