Merge pull request #63236 from halgriffiths/fix-texture-rect-transpose
send FLAGS_TRANSPOSE_RECT to Vulkan
This commit is contained in:
commit
f94b4dbe22
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue