Fix initialization for ETC2 punchthrough alpha formats

* Zero-filled ETC2_A1 data must be treated as opaque black
* Removed init functions when emulation is not needed
* Fixed initialization for emulated ETC2_R8G8B8A1_SRGB_BLOCK

Bug: angleproject:6936
Bug: angleproject:6941
Change-Id: Ie5555bbaa6b1a2bcfd9c22cb9c17d1a96e72aa70
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3406761
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Alexey Knyazev <lexa.knyazev@gmail.com>
This commit is contained in:
Alexey Knyazev
2022-01-22 01:40:34 +04:00
committed by Angle LUCI CQ
parent cac4e54a6b
commit a20cd8b733
19 changed files with 77 additions and 23 deletions

View File

@@ -2,7 +2,7 @@
"scripts/gl.xml":
"467556b6f73fd024b08b703d0be83999",
"src/libANGLE/renderer/angle_format.py":
"74d6c9842128293118ccf128aeae896a",
"2f8fa768088e22b0963bbdf842d3e725",
"src/libANGLE/renderer/gl/DispatchTableGL_autogen.cpp":
"f0d5c792843c9d7d9c06fd7b9b20724c",
"src/libANGLE/renderer/gl/DispatchTableGL_autogen.h":