anv: explictly specify format for blorp ccs/mcs op
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Mon, 24 Dec 2018 10:11:59 +0000 (10:11 +0000)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Tue, 8 Jan 2019 16:36:56 +0000 (16:36 +0000)
commit366eb656ac6fe677828f20295d8916506552a0e8
tree822dae36573516f6633a9a49b7d7c0513585e471
parentc292414765430b8030155021c95e2a713dd81a10
anv: explictly specify format for blorp ccs/mcs op

Resolve operations can happen when dealing with view (begin/end
subpasses) in which case the view's format needs to apply, not the
image's format.

v2: Relayout arguments of a ccs_op() call (Jason)

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Suggested-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108911
Cc: mesa-stable@lists.freedesktop.org
src/intel/vulkan/anv_blorp.c
src/intel/vulkan/anv_private.h
src/intel/vulkan/genX_cmd_buffer.c