[Mesa-dev] [PATCH 07/21] r600: handle compute null key shader state

Dave Airlie airlied at gmail.com
Wed Nov 29 04:36:16 UTC 2017


From: 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 b6a4728..e312b33 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.9.5



More information about the mesa-dev mailing list