anv/cmd_buffer: Always set up a null surface state
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 7 Apr 2017 17:31:01 +0000 (10:31 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 14 Apr 2017 21:20:42 +0000 (14:20 -0700)
commit02eca8b6f897a0c7ab5f2a6ff5d204cf379681f6
tree301c9955d4af0e297f3a3876f90a235441e06798
parentd6588d9962e8bf3965f2d333101ea8179a176d19
anv/cmd_buffer: Always set up a null surface state

We're about to start requiring it in yet another case and calculating
exactly when one is needed is starting to get prohibitively expensive.
A single surface state doesn't take up that much space so we may as well
create one all the time.

Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
Cc: <mesa-stable@lists.freedesktop.org>
src/intel/vulkan/genX_cmd_buffer.c