Vulkan: Cleanup buffer format fallbacks

- Fallbacks for formats that have required vertex attribute support are
  removed.
- Fallbacks are changed to ones with smaller sizes
- A bug is fixed where CopyNativeVertexData wasn't initializing the
  alpha channel appropriately, which was not exercised due to fallback
  to 32-bit float formats.

Bug: b/184163871
Change-Id: Icd9afa49d94c65545d1f3fcf521881726d64529d
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2809441
Reviewed-by: Tim Van Patten <timvp@google.com>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
This commit is contained in:
Shahbaz Youssefi
2021-04-06 23:42:16 -04:00
committed by Commit Bot
parent 730bbcbb5c
commit 7828506a2d
19 changed files with 267 additions and 299 deletions

View File

@@ -1,6 +1,6 @@
{
"src/libANGLE/renderer/angle_format.py":
"35b819b32d3259961da75f5c971baba4",
"74d6c9842128293118ccf128aeae896a",
"src/libANGLE/renderer/angle_format_map.json":
"5cfbdcad0391a5d70dca1466c5361ee4",
"src/libANGLE/renderer/dxgi_format_data.json":