diff options
| author | 2024-08-22 20:46:07 +0000 | |
|---|---|---|
| committer | 2024-08-27 13:15:11 +0000 | |
| commit | 1bde002dc5561d72af770ef8825c9c06563f4201 (patch) | |
| tree | d48610a768c98c12f10bca3a4b1f20b15d18cf40 /libs/gui/ConsumerBase.cpp | |
| parent | d3dae29bbac2d6e63a6690d98c9b3569ecdbfa25 (diff) | |
Fix GetPhysicalDeviceSurfaceFormats2KHR for compression control struct handling
As per the spec, vkGetPhysicalDeviceImageFormatProperties2 may return
VK_ERROR_FORMAT_NOT_SUPPORTED when an invalid combination of parameters
appears in VkPhysicalDeviceImageFormatInfo2 pImageFormatInfo argument
which is not handled by the loader. i.e.. loader doesn't loop through
all surface formats
Fix this by correctly handling vkGetPhysicalDeviceImageFormatProperties2
return value
Test: Working separately on testing strategy for this: 361626599
Bug: 357903074
Flag: EXEMPT bugfix
Change-Id: Id0712387e3249ac6118990441a4bb19102cd4a84
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions