svga: silence array out of bounds warning
authorBrian Paul <brianp@vmware.com>
Fri, 1 Mar 2019 20:56:18 +0000 (13:56 -0700)
committerBrian Paul <brianp@vmware.com>
Mon, 4 Mar 2019 18:48:47 +0000 (11:48 -0700)
commit66ba12973bcbe35f7c41c32270f92073e946b1d5
tree5d5e459e8dc824e070163502c8cbd5f8ac6dc19b
parent999db9ac51b312f8d18f5a39025f1b0dabddd073
svga: silence array out of bounds warning

MinGW release build complains about a possible out-of-bounds
array access.  Test i < 4 to silence it.

Reviewed-by: Neha Bhende <bhenden@vmware.com>
Reviewed-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
src/gallium/drivers/svga/svga_tgsi_insn.c