Mesa (master): r600: handle compute null key shader state
Dave Airlie
airlied at kemper.freedesktop.org
Tue Dec 5 20:32:23 UTC 2017
Module: Mesa
Branch: master
Commit: 84feb6c24afcf281a66b52b7d445ce95d185537a
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=84feb6c24afcf281a66b52b7d445ce95d185537a
Author: Dave Airlie <airlied at redhat.com>
Date: Fri Nov 3 12:23:26 2017 +1000
r600: handle compute null key shader state
Signed-off-by: Dave Airlie <airlied at redhat.com>
---
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 fee7a21d27..ee3340f6e8 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);
}
More information about the mesa-commit
mailing list