From: Dave Airlie Date: Fri, 3 Nov 2017 02:23:26 +0000 (+1000) Subject: r600: handle compute null key shader state X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=84feb6c24afcf281a66b52b7d445ce95d185537a;p=mesa.git r600: handle compute null key shader state Signed-off-by: Dave Airlie --- 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); }