send FLAGS_TRANSPOSE_RECT to Vulkan

This commit is contained in:
halgriffiths 2022-07-20 11:54:52 +01:00 committed by Henry Griffiths
parent d2fa9cbdfd
commit d37ebc2bdc

View file

@ -528,7 +528,7 @@ void RendererCanvasRenderRD::_render_item(RD::DrawListID p_draw_list, RID p_rend
}
if (rect->flags & CANVAS_RECT_TRANSPOSE) {
dst_rect.size.x *= -1; // Encoding in the dst_rect.z uniform
push_constant.flags |= FLAGS_TRANSPOSE_RECT;
}
if (rect->flags & CANVAS_RECT_CLIP_UV) {