anv/cmd_buffer: Fix SURFACE_STATE for non-view buffer bindings
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 5 Nov 2015 03:51:46 +0000 (19:51 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 5 Nov 2015 03:56:18 +0000 (19:56 -0800)
commita40f682c712f8d57b3d8fda5e3c2b0a785811d79
treeafb5c295068b13d17208800179c7ecf04874a1d5
parent1b68120760460c3d23425dadf46df75274b6ddb0
anv/cmd_buffer: Fix SURFACE_STATE for non-view buffer bindings

We were treating it as if it's a BufferView and weren't taking the offset
into account properly.
src/vulkan/anv_cmd_buffer.c