From af94600484ea4d0907ef7adddf0e6558434acdb0 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Fri, 25 Oct 2019 16:36:15 -0400 Subject: compiler: make variable::data::binding unsigned Nothing seems to set a negative value. Reviewed-by: Connor Abbott --- src/compiler/glsl/ir.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/compiler/glsl/ir.h') diff --git a/src/compiler/glsl/ir.h b/src/compiler/glsl/ir.h index ecf4b691472..93647f963f4 100644 --- a/src/compiler/glsl/ir.h +++ b/src/compiler/glsl/ir.h @@ -905,7 +905,7 @@ public: * * 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 -- cgit v1.2.3