gl: Propagate native layout from parent when creating temporary subresources

This commit is contained in:
kd-11 2026-03-07 03:07:57 +03:00 committed by kd-11
parent 0ea692e9ab
commit 4a51302c58

View file

@ -179,6 +179,10 @@ namespace gl
auto components = get_component_mapping(gcm_format, rsx::component_order::default_);
dst->set_native_component_layout(components);
}
else
{
dst->set_native_component_layout(src->get_native_component_layout());
}
return dst->get_view(remap);
}