turnip: don't always use 3d ops for blit_image
authorJonathan Marek <jonathan@marek.ca>
Tue, 26 Jan 2021 03:06:26 +0000 (22:06 -0500)
committerMarge Bot <eric+marge@anholt.net>
Wed, 3 Feb 2021 13:45:19 +0000 (13:45 +0000)
Revert this accidentally committed testing change.

Fixes: 872c4bcd27db ("turnip: implement z-scaling and z-mirroring BlitImage")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8707>

src/freedreno/vulkan/tu_clear_blit.c

index 9723921..654511b 100644 (file)
@@ -1060,7 +1060,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;
    bool z_scale = false;
    uint32_t layers = info->dstOffsets[1].z - info->dstOffsets[0].z;