aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker
diff options
context:
space:
mode:
authorJordan Justen <[email protected]>2016-05-21 14:21:32 -0700
committerJordan Justen <[email protected]>2016-06-01 19:29:02 -0700
commit7b9def35835232a10010f256b9c108219f97f752 (patch)
tree1bbad9392a897a4e09c10cb38e835f0a7ba98ff4 /src/mesa/state_tracker
parent1205999c229b8e67af39fb9875bd87bc0a1404eb (diff)
glsl: Add glsl LowerCsDerivedVariables option
v2: * Move lower flag to context constants. (Ken) Cc: "12.0" <[email protected]> Signed-off-by: Jordan Justen <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> (v1) Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r--src/mesa/state_tracker/st_extensions.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c
index d35e19f3f90..383983b26b9 100644
--- a/src/mesa/state_tracker/st_extensions.c
+++ b/src/mesa/state_tracker/st_extensions.c
@@ -314,6 +314,7 @@ void st_init_limits(struct pipe_screen *screen,
}
c->LowerTessLevel = true;
+ c->LowerCsDerivedVariables = true;
c->PrimitiveRestartForPatches =
screen->get_param(screen, PIPE_CAP_PRIMITIVE_RESTART_FOR_PATCHES);