r600: Make SID and unsigned value
authorGert Wollny <gert.wollny@collabora.com>
Sat, 28 Dec 2019 14:34:26 +0000 (15:34 +0100)
committerGert Wollny <gw.fossdev@gmail.com>
Sat, 4 Jan 2020 16:22:40 +0000 (16:22 +0000)
The value is never negative, and makeing it unsigned fixes some
warnings

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Konstantin Kharlamov <hi-angel@yandex.ru>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3286>

src/gallium/drivers/r600/r600_shader.h

index b7046b39d4c32a677fccbbd8513badd2cd0d697d..7dffd592a8822361f616d9fe72c227c04e3fa020 100644 (file)
@@ -45,7 +45,7 @@ struct r600_shader_io {
        unsigned                name;
        unsigned                gpr;
        unsigned                done;
-       int                     sid;
+       unsigned                sid;
        int                     spi_sid;
        unsigned                interpolate;
        unsigned                ij_index;