r600/shader: Fix all warnings issed with "-Wall -Wextra"
authorGert Wollny <gw.fossdev@gmail.com>
Wed, 15 Nov 2017 09:29:11 +0000 (10:29 +0100)
committerDave Airlie <airlied@redhat.com>
Wed, 22 Nov 2017 22:50:18 +0000 (22:50 +0000)
commit799d35087001aa754304d9409d3d52750430e40b
tree1137c86b371d3f27a133b177fb9d6f52a25bc5e4
parent1d076aafbc05b0af299826ac0ee63b2fb28e944a
r600/shader: Fix all warnings issed with "-Wall -Wextra"

- fix a number of -Wsign-compare warnings
- fix two warnings for -Woverride-init because TGSI_OPCODE_CEIL == 83, and
  the according field was defined two times.

[airlied: don't use -1 with unsigned type,
fix whitespace]

Signed-off-by: Gert Wollny <gw.fossdev@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/r600_shader.c