Skip to content

Commit b40d48a

Browse files
null77Commit Bot
authored andcommitted
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>
1 parent cd8167f commit b40d48a

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/libANGLE/renderer/vulkan/ContextVk.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3437,12 +3437,6 @@ angle::Result ContextVk::updateActiveImages(const gl::Context *context,
34373437
// lingering staged updates in its staging buffer for unused texture mip levels or
34383438
// layers. Therefore we can't verify it has no staged updates right here.
34393439

3440-
// TODO(syoussefi): make sure front-end syncs textures that are used as images (they are
3441-
// already notified of content change).
3442-
// Test: SimpleStateChangeTestES31.DispatchWithImageTextureTexSubImageThenDispatchAgain
3443-
// http://anglebug.com/3539
3444-
ANGLE_TRY(textureVk->ensureImageInitialized(this, ImageMipLevels::EnabledLevels));
3445-
34463440
vk::ImageLayout imageLayout = vk::ImageLayout::AllGraphicsShadersWrite;
34473441
if (program->isCompute())
34483442
{

0 commit comments

Comments
 (0)