aboutsummaryrefslogtreecommitdiffstats
path: root/src/freedreno/vulkan/tu_meta_blit.c
diff options
context:
space:
mode:
authorConnor Abbott <[email protected]>2020-02-04 13:26:59 +0100
committerJonathan Marek <[email protected]>2020-02-12 21:31:44 -0500
commita5fb515301251b476800a1560f9f8edc8ff325d6 (patch)
tree490f192bf6f163413f500c72617a165d052ef198 /src/freedreno/vulkan/tu_meta_blit.c
parenta94be3da84277701b5d74b326e5364cb854a19f1 (diff)
tu/blit: Support blits in secondary cmdstreams
For sysmem rendering we'll have to emit a delayed clear IB to implement LOAD_OP_*, similar to the existing tile_load_ib. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3713>
Diffstat (limited to 'src/freedreno/vulkan/tu_meta_blit.c')
-rw-r--r--src/freedreno/vulkan/tu_meta_blit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/freedreno/vulkan/tu_meta_blit.c b/src/freedreno/vulkan/tu_meta_blit.c
index ec45e011a12..b45309336ed 100644
--- a/src/freedreno/vulkan/tu_meta_blit.c
+++ b/src/freedreno/vulkan/tu_meta_blit.c
@@ -64,7 +64,7 @@ tu_blit_image(struct tu_cmd_buffer *cmdbuf,
.rotation = rotate[mirror_y][mirror_x],
};
- tu_blit(cmdbuf, &blt);
+ tu_blit(cmdbuf, &cmdbuf->cs, &blt);
}
void