mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 02:58:05 +02:00
glsl: make variables private
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
This commit is contained in:
parent
dcd9cd0383
commit
12af915e27
1 changed files with 11 additions and 11 deletions
|
|
@ -808,6 +808,17 @@ private:
|
|||
unsigned next_image;
|
||||
unsigned next_subroutine;
|
||||
|
||||
/**
|
||||
* Field counter is used to take care that uniform structures
|
||||
* with explicit locations get sequential locations.
|
||||
*/
|
||||
unsigned field_counter;
|
||||
|
||||
/**
|
||||
* Current variable being processed.
|
||||
*/
|
||||
ir_variable *current_var;
|
||||
|
||||
/* Used to store the explicit location from current_var so that we can
|
||||
* reuse the location field for storing the uniform slot id.
|
||||
*/
|
||||
|
|
@ -826,17 +837,6 @@ public:
|
|||
|
||||
gl_texture_index targets[MAX_SAMPLERS];
|
||||
|
||||
/**
|
||||
* Current variable being processed.
|
||||
*/
|
||||
ir_variable *current_var;
|
||||
|
||||
/**
|
||||
* Field counter is used to take care that uniform structures
|
||||
* with explicit locations get sequential locations.
|
||||
*/
|
||||
unsigned field_counter;
|
||||
|
||||
/**
|
||||
* Mask of samplers used by the current shader stage.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue