summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2017-11-03 12:23:26 +1000
committerDave Airlie <[email protected]>2017-12-05 20:31:13 +0000
commit84feb6c24afcf281a66b52b7d445ce95d185537a (patch)
tree96333cf6c08a7e382a211004a2e4f14c71725164 /src/gallium/drivers
parent9b8b78b457b7db001d492f70caac2ea0c40b6e90 (diff)
r600: handle compute null key shader state
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/r600/r600_state_common.c2
1 files changed, 2 insertions, 0 deletions
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);
}