summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_shader.c
diff options
context:
space:
mode:
authorMichel Dänzer <[email protected]>2014-01-09 18:18:26 +0900
committerMichel Dänzer <[email protected]>2014-01-29 11:07:48 +0900
commit7b19c391f478769bf5111faef3d2aee66c2cfab0 (patch)
tree4cfbc21cc4722b4c93a8972a45b7f0ebb8c43caf /src/gallium/drivers/radeonsi/si_shader.c
parent8afde9fa23db6ac1802f7a2c74123f10db96f552 (diff)
radeonsi: Also export clip distances with geometry shader
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_shader.c')
-rw-r--r--src/gallium/drivers/radeonsi/si_shader.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c
index 227d6829926..7718e919555 100644
--- a/src/gallium/drivers/radeonsi/si_shader.c
+++ b/src/gallium/drivers/radeonsi/si_shader.c
@@ -2541,6 +2541,7 @@ int si_pipe_shader_create(
if (si_shader_ctx.type == TGSI_PROCESSOR_GEOMETRY) {
shader->gs_copy_shader = CALLOC_STRUCT(si_pipe_shader);
shader->gs_copy_shader->selector = shader->selector;
+ shader->gs_copy_shader->key = shader->key;
si_shader_ctx.shader = shader->gs_copy_shader;
if ((r = si_generate_gs_copy_shader(sctx, &si_shader_ctx, dump))) {
free(shader->gs_copy_shader);