diff options
author | Timothy Arceri <[email protected]> | 2015-09-02 11:29:11 +1000 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2015-09-17 11:26:45 +1000 |
commit | 9788700caf61ff8beee5fd836f5efd98a931a976 (patch) | |
tree | feacd2b73d32ec6d2f5ee1681d058a7fe538d05a /src/glsl/nir/nir.h | |
parent | 874a0217fd8bba83b0bc2448f5156fdb82f77d7c (diff) |
glsl: assign hidden uniforms their slot id earlier
This is required so that the next patch can safely assign the slot id
to the var.
The ids are now assigned in the order we want before allocating storage
so there is no need to sort the storage array and move things around.
V2: rename variable to make code easier to follow as suggested by Jason
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/glsl/nir/nir.h')
0 files changed, 0 insertions, 0 deletions