diff options
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_gs.c')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_gs.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/gallium/auxiliary/draw/draw_gs.c b/src/gallium/auxiliary/draw/draw_gs.c index 6cf8846627b..18af1d90667 100644 --- a/src/gallium/auxiliary/draw/draw_gs.c +++ b/src/gallium/auxiliary/draw/draw_gs.c @@ -803,12 +803,7 @@ draw_create_geometry_shader(struct draw_context *draw, if (gs->info.output_semantic_name[i] == TGSI_SEMANTIC_CLIPDIST) { debug_assert(gs->info.output_semantic_index[i] < PIPE_MAX_CLIP_OR_CULL_DISTANCE_ELEMENT_COUNT); - gs->clipdistance_output[gs->info.output_semantic_index[i]] = i; - } - if (gs->info.output_semantic_name[i] == TGSI_SEMANTIC_CULLDIST) { - debug_assert(gs->info.output_semantic_index[i] < - PIPE_MAX_CLIP_OR_CULL_DISTANCE_ELEMENT_COUNT); - gs->culldistance_output[gs->info.output_semantic_index[i]] = i; + gs->ccdistance_output[gs->info.output_semantic_index[i]] = i; } } |