summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2017-05-16 01:19:04 +0200
committerNicolai Hähnle <[email protected]>2017-07-31 14:55:44 +0200
commit3b4f481c601102411d421ec3b7ee9b8e50046fc1 (patch)
tree417942490e59fac0a3040ded11f78e95f5bef7e6
parent3997b10f74aec530eea4a3f64d179a8949c549e6 (diff)
radeonsi: VS as ES/LS are not yet supported with R600_DEBUG=nir
Reviewed-by: Marek Olšák <[email protected]>
-rw-r--r--src/gallium/drivers/radeonsi/si_shader.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c
index 670b4a76f3f..628e6f80d3f 100644
--- a/src/gallium/drivers/radeonsi/si_shader.c
+++ b/src/gallium/drivers/radeonsi/si_shader.c
@@ -4333,8 +4333,10 @@ static void create_function(struct si_shader_context *ctx)
declare_vs_specific_input_sgprs(ctx, &fninfo);
if (shader->key.as_es) {
+ assert(!shader->selector->nir);
ctx->param_es2gs_offset = add_arg(&fninfo, ARG_SGPR, ctx->i32);
} else if (shader->key.as_ls) {
+ assert(!shader->selector->nir);
/* no extra parameters */
} else {
if (shader->is_gs_copy_shader) {