From 84feb6c24afcf281a66b52b7d445ce95d185537a Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Fri, 3 Nov 2017 12:23:26 +1000 Subject: [PATCH] r600: handle compute null key shader state Signed-off-by: Dave Airlie --- src/gallium/drivers/r600/r600_state_common.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gallium/drivers/r600/r600_state_common.c b/src/gallium/drivers/r600/r600_state_common.c index fee7a21d27d..ee3340f6e81 100644 --- a/src/gallium/drivers/r600/r600_state_common.c +++ b/src/gallium/drivers/r600/r600_state_common.c @@ -820,6 +820,8 @@ static inline void r600_shader_selector_key(const struct pipe_context *ctx, key->tcs.prim_mode = rctx->tes_shader->info.properties[TGSI_PROPERTY_TES_PRIM_MODE]; key->tcs.first_atomic_counter = r600_get_hw_atomic_count(ctx, PIPE_SHADER_TESS_CTRL); break; + case PIPE_SHADER_COMPUTE: + break; default: assert(0); } -- 2.30.2