mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 18:08:40 +02:00
v3dv: amend vkEnumerateInstanceExtensionProperties to handle layers
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6766>
This commit is contained in:
parent
c2dd7bf634
commit
37472a6aa3
1 changed files with 4 additions and 0 deletions
|
|
@ -67,6 +67,10 @@ v3dv_EnumerateInstanceExtensionProperties(const char *pLayerName,
|
|||
uint32_t *pPropertyCount,
|
||||
VkExtensionProperties *pProperties)
|
||||
{
|
||||
/* We don't support any layers */
|
||||
if (pLayerName)
|
||||
return vk_error(NULL, VK_ERROR_LAYER_NOT_PRESENT);
|
||||
|
||||
VK_OUTARRAY_MAKE(out, pProperties, pPropertyCount);
|
||||
|
||||
for (int i = 0; i < V3DV_INSTANCE_EXTENSION_COUNT; i++) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue