mirror of
https://github.com/godotengine/godot-angle-static.git
synced 2026-01-06 02:09:55 +03:00
Vulkan: Make vk::Format from struct to class
With all the recent changes that there are two actualImageFormatIDs, retrieve the actual format requires pass in a renderable boolean. And the vertex format also has a similar requirement to the real format may differ depends on if it is compressed or not. This struct no longer safe to expose the underline data members directly. This CL turns it into a class and expose the actual format via method that requires renderable or compressed boolean. Bug: b/196456356 Change-Id: Ie2f8308cc408bde1b0787e0b392e143187cc4425 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3139236 Commit-Queue: Charlie Lao <cclao@google.com> Reviewed-by: Tim Van Patten <timvp@google.com> Reviewed-by: Jamie Madill <jmadill@chromium.org> Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
This commit is contained in:
committed by
Angle LUCI CQ
parent
a33d902bc3
commit
856a0e0340
@@ -4,9 +4,9 @@
|
||||
"src/libANGLE/renderer/angle_format_map.json":
|
||||
"6606c1d7df94e6150ab51cfe96c6dcdc",
|
||||
"src/libANGLE/renderer/vulkan/gen_vk_format_table.py":
|
||||
"ffeebc0e8ec8db860e472c7cf04cd880",
|
||||
"d8e23d6ca2380a3471d85caffd765830",
|
||||
"src/libANGLE/renderer/vulkan/vk_format_map.json":
|
||||
"b5e35a7c708d764ae66ac39bf2beb054",
|
||||
"src/libANGLE/renderer/vulkan/vk_format_table_autogen.cpp":
|
||||
"a116ed4afe6cbbf3f714f60ae255f584"
|
||||
"d0479b2e58d2eb488247c7a0eab6e8c5"
|
||||
}
|
||||
Reference in New Issue
Block a user