diff options
author | Nicolai Hähnle <nicolai.haehnle@amd.com> | 2017-05-16 01:19:04 +0200 |
---|---|---|
committer | Nicolai Hähnle <nicolai.haehnle@amd.com> | 2017-07-05 12:34:01 +0200 |
commit | 95ee7e0cfef3c6891baf8526f1acf9b063859435 (patch) | |
tree | f88a66f16d4808de0260ab88970f9facfed4b99f | |
parent | 161f051715e7914906c84055cbc9a2e301edfd70 (diff) |
radeonsi: VS as ES/LS are not yet supported with R600_DEBUG=nir
-rw-r--r-- | src/gallium/drivers/radeonsi/si_shader.c | 2 |
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 7fa76cd35f..83db8765da 100644 --- a/src/gallium/drivers/radeonsi/si_shader.c +++ b/src/gallium/drivers/radeonsi/si_shader.c @@ -4311,8 +4311,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) { |