Merge pull request #63236 from halgriffiths/fix-texture-rect-transpose

send FLAGS_TRANSPOSE_RECT to Vulkan
This commit is contained in:
Rémi Verschelde 2022-07-26 13:22:32 +02:00 committed by GitHub
commit f94b4dbe22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -528,7 +528,7 @@ void RendererCanvasRenderRD::_render_item(RD::DrawListID p_draw_list, RID p_rend
} }
if (rect->flags & CANVAS_RECT_TRANSPOSE) { 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) { if (rect->flags & CANVAS_RECT_CLIP_UV) {