Similar to the previous commits, previously all GPU buffers were recreated when only masks changed. Now only that masks are re-uploaded, using the same mechanism. Part of #118145.
Similar to the previous commits, previously all GPU buffers were recreated when only masks changed. Now only that masks are re-uploaded, using the same mechanism. Part of #118145.