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 <eric@anholt.net>
This commit is contained in:
Timothy Arceri
2016-10-31 22:06:37 +11:00
parent 9ea513e226
commit 8a69ae5345
2 changed files with 3 additions and 0 deletions

View File

@@ -134,6 +134,8 @@ typedef struct shader_info {
struct {
unsigned local_size[3];
bool local_size_variable;
/**
* Size of shared variables accessed by the compute shader.
*/