зеркало из https://github.com/AvaloniaUI/angle.git
Vulkan: Remove ensure init from updateActiveImages.
The ensure should already be triggered from the front-end. Bug: angleproject:3539 Bug: angleproject:3887 Change-Id: Ic7ee10f9c767440e55befb929b414c0c894754c9 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2046051 Reviewed-by: Tim Van Patten <timvp@google.com> Reviewed-by: Cody Northrop <cnorthrop@google.com> Commit-Queue: Jamie Madill <jmadill@chromium.org>
This commit is contained in:
Родитель
cd8167fb49
Коммит
b40d48a67c
|
@ -3437,12 +3437,6 @@ angle::Result ContextVk::updateActiveImages(const gl::Context *context,
|
|||
// lingering staged updates in its staging buffer for unused texture mip levels or
|
||||
// layers. Therefore we can't verify it has no staged updates right here.
|
||||
|
||||
// TODO(syoussefi): make sure front-end syncs textures that are used as images (they are
|
||||
// already notified of content change).
|
||||
// Test: SimpleStateChangeTestES31.DispatchWithImageTextureTexSubImageThenDispatchAgain
|
||||
// http://anglebug.com/3539
|
||||
ANGLE_TRY(textureVk->ensureImageInitialized(this, ImageMipLevels::EnabledLevels));
|
||||
|
||||
vk::ImageLayout imageLayout = vk::ImageLayout::AllGraphicsShadersWrite;
|
||||
if (program->isCompute())
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче