From e344a117af88daf69aad3fdb2f66e43803c41c08 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Mon, 20 Dec 2021 14:01:33 +1000 Subject: [PATCH] mesa/st: move intel blackhole noop enable to frontend Reviewed-by: Kristian H. Kristensen Part-of: --- src/mesa/main/enable.c | 1 + src/mesa/state_tracker/st_context.c | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/mesa/main/enable.c b/src/mesa/main/enable.c index d033d626f52..0d81d8e1c06 100644 --- a/src/mesa/main/enable.c +++ b/src/mesa/main/enable.c @@ -1314,6 +1314,7 @@ _mesa_set_enable(struct gl_context *ctx, GLenum cap, GLboolean state) return; FLUSH_VERTICES(ctx, 0, 0); ctx->IntelBlackholeRender = state; + ctx->pipe->set_frontend_noop(ctx->pipe, state); break; default: diff --git a/src/mesa/state_tracker/st_context.c b/src/mesa/state_tracker/st_context.c index 1cf80f62c40..062fb3e8c95 100644 --- a/src/mesa/state_tracker/st_context.c +++ b/src/mesa/state_tracker/st_context.c @@ -83,9 +83,6 @@ st_Enable(struct gl_context *ctx, GLenum cap) case GL_DEBUG_OUTPUT_SYNCHRONOUS: st_update_debug_callback(st); break; - case GL_BLACKHOLE_RENDER_INTEL: - st->pipe->set_frontend_noop(st->pipe, ctx->IntelBlackholeRender); - break; default: break; }