anv/image: clflush the right state map in anv_fill_image_surface_state().
authorFrancisco Jerez <currojerez@riseup.net>
Tue, 26 Jan 2016 22:45:46 +0000 (14:45 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 26 Jan 2016 23:14:50 +0000 (15:14 -0800)
commitfc7a7b31c5c7d5030b4cffc7fff011962969db47
treec86f335291730102aaeaff8fa98f653cdc8c6365
parenta50dc70e21bb78b5f72d1edf7d66224767e1ae6c
anv/image: clflush the right state map in anv_fill_image_surface_state().

It was clflushing the nonrt_surface_state structure regardless of
which state structure was actually being initialized.
src/vulkan/anv_image.c
src/vulkan/anv_private.h