summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/shaderapi.c
diff options
context:
space:
mode:
authorChris Forbes <[email protected]>2014-09-09 19:25:02 +1200
committerMarek Olšák <[email protected]>2015-07-23 00:59:28 +0200
commitdf16e0dd63dfeb7d5086339113ff7d7197010847 (patch)
tree4636b7e514b3c424f35c76e7db17348ffeb77fbd /src/mesa/main/shaderapi.c
parent0e94f350eeecd84cd5f15b10837b285bc9120684 (diff)
glsl: analyze TES usage of gl_ClipDistance
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/main/shaderapi.c')
-rw-r--r--src/mesa/main/shaderapi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/shaderapi.c b/src/mesa/main/shaderapi.c
index 40b4d417c22..38365908a86 100644
--- a/src/mesa/main/shaderapi.c
+++ b/src/mesa/main/shaderapi.c
@@ -2057,6 +2057,7 @@ _mesa_copy_linked_program_data(gl_shader_stage type,
dst_tep->Spacing = src->TessEval.Spacing;
dst_tep->VertexOrder = src->TessEval.VertexOrder;
dst_tep->PointMode = src->TessEval.PointMode;
+ dst->UsesClipDistanceOut = src->TessEval.UsesClipDistance;
break;
}
case MESA_SHADER_GEOMETRY: {