diff options
author | Marek Olšák <[email protected]> | 2019-10-25 16:36:15 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2019-11-04 16:49:46 -0500 |
commit | af94600484ea4d0907ef7adddf0e6558434acdb0 (patch) | |
tree | 1733e477acf4adcbbee6c3e4fb904fe66da3451e /src/compiler/nir | |
parent | 4b4b383f38ab772d4ad1a4ddccc2d72749257b3a (diff) |
compiler: make variable::data::binding unsigned
Nothing seems to set a negative value.
Reviewed-by: Connor Abbott <[email protected]>
Diffstat (limited to 'src/compiler/nir')
-rw-r--r-- | src/compiler/nir/nir.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h index f5f9826a27c..00e5028d27b 100644 --- a/src/compiler/nir/nir.h +++ b/src/compiler/nir/nir.h @@ -470,7 +470,7 @@ typedef struct nir_variable { * * 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. |