anv: fix invalid binding table index computation
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Thu, 17 Jan 2019 18:19:59 +0000 (18:19 +0000)
committerMark Janes <mark.a.janes@intel.com>
Thu, 17 Jan 2019 19:49:10 +0000 (11:49 -0800)
commit4149d41f2e4ea02ca86975d25ab160e69bf0f8e5
treec138a6d6e61952994afe542f78e5d75b4c5ae16b
parentc4c5c90255b6233cee0e457aee323a334df9aaf7
anv: fix invalid binding table index computation

The ++ operator strikes again.

Fixes: f92c5bc8f3f517 ("anv/device: fix maximum number of images supported")
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/genX_cmd_buffer.c