vk/cmd_buffer: Invalidate texture cache in emit_state_base_address
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 30 Jul 2015 04:24:20 +0000 (21:24 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 30 Jul 2015 15:24:02 +0000 (08:24 -0700)
commit82548a3acac29cc0fcf492a7dc743bedb11e2df2
treecc676b0da499a2d884eb95cfbdddbc82a3c31e9d
parent56ce896d730b24376bb4218e5cbaaa02120d12cb
vk/cmd_buffer: Invalidate texture cache in emit_state_base_address

Previously, the caller of emit_state_base_address was doing this.  However,
putting it directly in emit_state_base_address means that we'll never
forget the flush at the cost of one PIPE_CONTROL at the top every batch
(that should do nothing since the kernel just flushed for us).
src/vulkan/anv_cmd_emit.c