compiler: make variable::data::binding unsigned
Nothing seems to set a negative value. Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
This commit is contained in:
@@ -905,7 +905,7 @@ public:
|
|||||||
*
|
*
|
||||||
* For array types, this represents the binding point for the first element.
|
* For array types, this represents the binding point for the first element.
|
||||||
*/
|
*/
|
||||||
int16_t binding;
|
uint16_t binding;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Storage location of the base of this variable
|
* Storage location of the base of this variable
|
||||||
|
@@ -470,7 +470,7 @@ typedef struct nir_variable {
|
|||||||
*
|
*
|
||||||
* For array types, this represents the binding point for the first element.
|
* For array types, this represents the binding point for the first element.
|
||||||
*/
|
*/
|
||||||
int binding;
|
unsigned binding;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Location an atomic counter or transform feedback is stored at.
|
* Location an atomic counter or transform feedback is stored at.
|
||||||
|
Reference in New Issue
Block a user