summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_extensions.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/state_tracker/st_extensions.c')
-rw-r--r--src/mesa/state_tracker/st_extensions.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c
index 556cd65afa1..6736ebc53bf 100644
--- a/src/mesa/state_tracker/st_extensions.c
+++ b/src/mesa/state_tracker/st_extensions.c
@@ -264,6 +264,9 @@ void st_init_limits(struct pipe_screen *screen,
options->LowerClipDistance = true;
options->LowerBufferInterfaceBlocks = true;
+
+ if (sh == PIPE_SHADER_COMPUTE)
+ options->LowerShaderSharedVariables = true;
}
c->LowerTessLevel = true;