radeonsi: Use signed char for color_interp_vgpr_index
authorTimothy Pearson <tpearson@raptorengineering.com>
Mon, 16 Jul 2018 19:20:42 +0000 (14:20 -0500)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 18 Jul 2018 17:31:29 +0000 (13:31 -0400)
commite1621fda84d92f154b19c5bf9562ee6963414399
tree0fa8717e367e463d8ca3abcb0aaf34b3a1d92d45
parentaaa6fac8f65e6a28ba73eef6a0e6da4bef4fc992
radeonsi: Use signed char for color_interp_vgpr_index

color_interp_vgpr_index was declared as a generic char value.
Because signed values are used in this variable, the result
was not safe across architectures and crashed on ppc64[el]
and arm.

Declare color_interp_vgpr_index as a signed type.

Signed-off-by: Timothy Pearson <tpearson@raptorengineering.com>
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_shader.h