Commit d6202fce by Shahbaz Youssefi Committed by Angle LUCI CQ

Vulkan: Disable GL_KHR_texture_compression_astc_sliced_3d

3D ASTC formats are not supported in Vulkan, sliced or not. The non-sliced extension is already disabled, and this change disables the sliced version. Bug: angleproject:6038 Change-Id: I055838345ccb8ad77fe4c05e65dd8b10a8a4d36b Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2993459Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
parent 790004db
......@@ -305,14 +305,12 @@ void RendererVk::ensureCapsInitialized() const
// Vulkan doesn't support ASTC 3D block textures, which are required by
// GL_OES_texture_compression_astc.
mNativeExtensions.textureCompressionASTCOES = false;
// Vulkan does not support sliced 3D ASTC textures either.
mNativeExtensions.textureCompressionSliced3dASTCKHR = false;
// Vulkan doesn't guarantee HDR blocks decoding without VK_EXT_texture_compression_astc_hdr.
mNativeExtensions.textureCompressionASTCHDRKHR = false;
// Vulkan supports sliced 3D ASTC texture uploads when ASTC is supported.
mNativeExtensions.textureCompressionSliced3dASTCKHR =
mNativeExtensions.textureCompressionASTCLDRKHR;
// Enable EXT_compressed_ETC1_RGB8_sub_texture
mNativeExtensions.compressedETC1RGB8SubTexture = mNativeExtensions.compressedETC1RGB8TextureOES;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment