summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2016-10-31 22:06:37 +1100
committerTimothy Arceri <[email protected]>2016-12-30 10:57:16 +1100
commit8a69ae5345045af4642145ad0bcfd1314d4d949e (patch)
tree899865dc7b43b21ee03afbd357f426248fc7a291 /src/mesa/main
parent9ea513e22698fba429b8f3f2a9a0ccdbcc73d4a2 (diff)
mesa/compiler: add local_size_variable to shader_info
This will be used in api_validate.c in a following patch when we switch to using gl_program pointers for the pipelines CurrentProgram array. Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/main')
-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 c1e67f36366..f9106140770 100644
--- a/src/mesa/main/shaderapi.c
+++ b/src/mesa/main/shaderapi.c
@@ -2203,6 +2203,7 @@ _mesa_copy_linked_program_data(const struct gl_shader_program *src,
for (int i = 0; i < 3; i++)
dst->info.cs.local_size[i] = src->Comp.LocalSize[i];
dst->info.cs.shared_size = src->Comp.SharedSize;
+ dst->info.cs.local_size_variable = src->Comp.LocalSizeVariable;
break;
}
default: