compiler: add additional cs metadata fields to shader info

And copy values from GLSL.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
Timothy Arceri
2016-10-13 15:18:53 +11:00
parent 81faead818
commit 54095ed8b9
2 changed files with 6 additions and 0 deletions

View File

@@ -118,6 +118,11 @@ typedef struct shader_info {
struct {
unsigned local_size[3];
/**
* Size of shared variables accessed by the compute shader.
*/
unsigned shared_size;
} cs;
struct {