aboutsummaryrefslogtreecommitdiffstats
path: root/src/freedreno
diff options
context:
space:
mode:
authorJonathan Marek <[email protected]>2020-06-16 19:07:41 -0400
committerMarge Bot <[email protected]>2020-06-17 08:50:42 +0000
commit198b13974a203f47a93c3bc7dfc355409b9706f2 (patch)
treec77d9986abf7490c919300a7347b23bcb65ccb8c /src/freedreno
parent1622787ee4de8785d042e16ce91f027870f87830 (diff)
turnip: fix 3D path always being used for CmdBlitImage
This change accidentally made it into 72d7df40a5e5b50, and started causing blit_image flakes (because of the issue fixed in the previous patch) Fixes: 72d7df40a5e5b50 ("turnip: add layered 3D path clear for CmdClearAttachments") Signed-off-by: Jonathan Marek <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5509>
Diffstat (limited to 'src/freedreno')
-rw-r--r--src/freedreno/vulkan/tu_clear_blit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/freedreno/vulkan/tu_clear_blit.c b/src/freedreno/vulkan/tu_clear_blit.c
index 34591443ae5..80f993bb73f 100644
--- a/src/freedreno/vulkan/tu_clear_blit.c
+++ b/src/freedreno/vulkan/tu_clear_blit.c
@@ -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;