turnip: fix 3D path always being used for CmdBlitImage

This change accidentally made it into 72d7df40a5, and started causing
blit_image flakes (because of the issue fixed in the previous patch)

Fixes: 72d7df40a5 ("turnip: add layered 3D path clear for CmdClearAttachments")

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5509>
This commit is contained in:
Jonathan Marek 2020-06-16 19:07:41 -04:00 committed by Marge Bot
parent 1622787ee4
commit 198b13974a

View file

@ -1097,7 +1097,7 @@ tu6_blit_image(struct tu_cmd_buffer *cmd,
const VkImageBlit *info,
VkFilter filter)
{
const struct blit_ops *ops = &r3d_ops;
const struct blit_ops *ops = &r2d_ops;
struct tu_cs *cs = &cmd->cs;
uint32_t layers;