Vulkan: Use VK_FORMAT_D24_UNORM_S8_UINT for 24 bit depth if available

And if the format we picked has extra bits, try to clear it instead
of load the value. Don't store these extra bits as values as well.

Bug: angleproject:4459
Change-Id: If5d0e31aca1453deab970d0dbcf8886a5e6ed51c
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2095850
Commit-Queue: Charlie Lao <cclao@google.com>
Reviewed-by: Tobin Ehlis <tobine@google.com>
This commit is contained in:
Charlie Lao
2020-03-09 16:58:37 -07:00
committed by Commit Bot
parent 05710d5478
commit c5b3cbdb45
7 changed files with 47 additions and 10 deletions

View File

@@ -4,7 +4,7 @@
"src/libANGLE/renderer/gen_load_functions_table.py":
"9b4ea6bcb4eb4c43f48a097a9ec920f1",
"src/libANGLE/renderer/load_functions_data.json":
"ca62fd90cb56197b2d3f78f8e2aba5e0",
"7df64a5481f55f3096aff11649d9992d",
"src/libANGLE/renderer/load_functions_table_autogen.cpp":
"9500f5e87cc7ae604c40168895b41590"
"82658e05a1019375501076c4043d6f82"
}