Repository: godot
Issue: Vulkan: SDFGI doesn't render on macOS (Intel/AMD/NVIDIA)
Labels: bug,platform:macos,topic:rendering,topic:thirdparty,topic:3d

### Godot version

v4.0.alpha12.official [2c11e6d9e]

### System information

macOS 12.1, MBP 15" 2018, Vulkan Clustered

### Issue description

After enabling GI from the lighting and environment preview panel, the GI doesn't seem to work, and errors are outputted to the log.
<img width="1402" alt="image" src="https://user-images.githubusercontent.com/18037145/179525935-2f5dbcde-b58d-40d5-9a66-4ccdb08dd1b4.png">

### Log output
```
Godot Engine v4.0.alpha12.official (c) 2007-2022 Juan Linietsky, Ariel Manzur & Godot Contributors.
  modules/gltf/register_types.cpp:92 - FBX file import is enabled, but no FBX2glTF path is configured. FBX files will not be imported.
--- Debug adapter server started ---
--- GDScript language server started ---
Switch Scene Tab
  drivers/vulkan/vulkan_context.cpp:159 -  - Message Id Number: 0 | Message Id Name: 
  	VK_ERROR_FORMAT_NOT_SUPPORTED: VkFormat VK_FORMAT_R4G4B4A4_UNORM_PACK16 is not supported on this device.
  	Objects - 1
  		Object[0] - VK_OBJECT_TYPE_PHYSICAL_DEVICE, Handle 140635496947736
  Storage buffer supplied (binding: 1) must provide one ID (0 provided).
  ./servers/rendering/renderer_rd/uniform_set_cache_rd.h:129 - Condition "rid.is_null()" is true. Returning: rid
  drivers/vulkan/rendering_device_vulkan.cpp:7411 - Condition "!uniform_set" is true.
  Storage buffer supplied (binding: 1) must provide one ID (0 provided).
  ./servers/rendering/renderer_rd/uniform_set_cache_rd.h:129 - Condition "rid.is_null()" is true. Returning: rid
  drivers/vulkan/rendering_device_vulkan.cpp:7411 - Condition "!uniform_set" is true.
  Storage buffer supplied (binding: 1) must provide one ID (0 provided).
  ./servers/rendering/renderer_rd/uniform_set_cache_rd.h:129 - Condition "rid.is_null()" is true. Returning: rid
  drivers/vulkan/rendering_device_vulkan.cpp:7411 - Condition "!uniform_set" is true.
  Storage buffer supplied (binding: 1) must provide one ID (0 provided).
  ./servers/rendering/renderer_rd/uniform_set_cache_rd.h:129 - Condition "rid.is_null()" is true. Returning: rid
  drivers/vulkan/rendering_device_vulkan.cpp:7411 - Condition "!uniform_set" is true.
  Storage buffer supplied (binding: 1) must provide one ID (0 provided).
  ./servers/rendering/renderer_rd/uniform_set_cache_rd.h:129 - Condition "rid.is_null()" is true. Returning: rid
  drivers/vulkan/rendering_device_vulkan.cpp:7411 - Condition "!uniform_set" is true.
  Storage buffer supplied (binding: 1) must provide one ID (0 provided).
  ./servers/rendering/renderer_rd/uniform_set_cache_rd.h:129 - Condition "rid.is_null()" is true. Returning: rid
  drivers/vulkan/rendering_device_vulkan.cpp:7411 - Condition "!uniform_set" is true.
  Storage buffer supplied (binding: 1) must provide one ID (0 provided).
  ./servers/rendering/renderer_rd/uniform_set_cache_rd.h:129 - Condition "rid.is_null()" is true. Returning: rid
  drivers/vulkan/rendering_device_vulkan.cpp:7411 - Condition "!uniform_set" is true.
  Storage buffer supplied (binding: 1) must provide one ID (0 provided).
  ./servers/rendering/renderer_rd/uniform_set_cache_rd.h:129 - Condition "rid.is_null()" is true. Returning: rid
  drivers/vulkan/rendering_device_vulkan.cpp:7411 - Condition "!uniform_set" is true.
  Storage buffer supplied (binding: 1) must provide one ID (0 provided).
  ./servers/rendering/renderer_rd/uniform_set_cache_rd.h:129 - Condition "rid.is_null()" is true. Returning: rid
  drivers/vulkan/rendering_device_vulkan.cpp:7411 - Condition "!uniform_set" is true.
  Storage buffer supplied (binding: 1) must provide one ID (0 provided).
  ./servers/rendering/renderer_rd/uniform_set_cache_rd.h:129 - Condition "rid.is_null()" is true. Returning: rid
  drivers/vulkan/rendering_device_vulkan.cpp:7411 - Condition "!uniform_set" is true.
  Storage buffer supplied (binding: 1) must provide one ID (0 provided).
  ./servers/rendering/renderer_rd/uniform_set_cache_rd.h:129 - Condition "rid.is_null()" is true. Returning: rid
  drivers/vulkan/rendering_device_vulkan.cpp:7411 - Condition "!uniform_set" is true.
  Storage buffer supplied (binding: 1) must provide one ID (0 provided).
  ./servers/rendering/renderer_rd/uniform_set_cache_rd.h:129 - Condition "rid.is_null()" is true. Returning: rid
  drivers/vulkan/rendering_device_vulkan.cpp:7411 - Condition "!uniform_set" is true.
  drivers/vulkan/vulkan_context.cpp:159 -  - Message Id Number: 0 | Message Id Name: 
  	VK_ERROR_FORMAT_NOT_SUPPORTED: VkFormat VK_FORMAT_R4G4B4A4_UNORM_PACK16 is not supported on this device.
  	Objects - 1
  		Object[0] - VK_OBJECT_TYPE_PHYSICAL_DEVICE, Handle 140635496947736
  drivers/vulkan/vulkan_context.cpp:159 -  - Message Id Number: 0 | Message Id Name: 
  	VK_ERROR_FORMAT_NOT_SUPPORTED: VkFormat VK_FORMAT_R4G4B4A4_UNORM_PACK16 is not supported on this device.
  	Objects - 1
  		Object[0] - VK_OBJECT_TYPE_PHYSICAL_DEVICE, Handle 140635496947736
  Storage buffer supplied (binding: 1) must provide one ID (0 provided).
  ./servers/rendering/renderer_rd/uniform_set_cache_rd.h:129 - Condition "rid.is_null()" is true. Returning: rid
  drivers/vulkan/rendering_device_vulkan.cpp:7411 - Condition "!uniform_set" is true.
  Storage buffer supplied (binding: 1) must provide one ID (0 provided).
  ./servers/rendering/renderer_rd/uniform_set_cache_rd.h:129 - Condition "rid.is_null()" is true. Returning: rid
  drivers/vulkan/rendering_device_vulkan.cpp:7411 - Condition "!uniform_set" is true.
  Storage buffer supplied (binding: 1) must provide one ID (0 provided).
  ./servers/rendering/renderer_rd/uniform_set_cache_rd.h:129 - Condition "rid.is_null()" is true. Returning: rid
  drivers/vulkan/rendering_device_vulkan.cpp:7411 - Condition "!uniform_set" is true.
  Storage buffer supplied (binding: 1) must provide one ID (0 provided).
  ./servers/rendering/renderer_rd/uniform_set_cache_rd.h:129 - Condition "rid.is_null()" is true. Returning: rid
  drivers/vulkan/rendering_device_vulkan.cpp:7411 - Condition "!uniform_set" is true.
  Storage buffer supplied (binding: 1) must provide one ID (0 provided).
  ./servers/rendering/renderer_rd/uniform_set_cache_rd.h:129 - Condition "rid.is_null()" is true. Returning: rid
  drivers/vulkan/rendering_device_vulkan.cpp:7411 - Condition "!uniform_set" is true.
  Storage buffer supplied (binding: 1) must provide one ID (0 provided).
  ./servers/rendering/renderer_rd/uniform_set_cache_rd.h:129 - Condition "rid.is_null()" is true. Returning: rid
  drivers/vulkan/rendering_device_vulkan.cpp:7411 - Condition "!uniform_set" is true.
  Storage buffer supplied (binding: 1) must provide one ID (0 provided).
  ./servers/rendering/renderer_rd/uniform_set_cache_rd.h:129 - Condition "rid.is_null()" is true. Returning: rid
  drivers/vulkan/rendering_device_vulkan.cpp:7411 - Condition "!uniform_set" is true.
  Storage buffer supplied (binding: 1) must provide one ID (0 provided).
  ./servers/rendering/renderer_rd/uniform_set_cache_rd.h:129 - Condition "rid.is_null()" is true. Returning: rid
  drivers/vulkan/rendering_device_vulkan.cpp:7411 - Condition "!uniform_set" is true.
  Storage buffer supplied (binding: 1) must provide one ID (0 provided).
  ./servers/rendering/renderer_rd/uniform_set_cache_rd.h:129 - Condition "rid.is_null()" is true. Returning: rid
  drivers/vulkan/rendering_device_vulkan.cpp:7411 - Condition "!uniform_set" is true.
  Storage buffer supplied (binding: 1) must provide one ID (0 provided).
  ./servers/rendering/renderer_rd/uniform_set_cache_rd.h:129 - Condition "rid.is_null()" is true. Returning: rid
  drivers/vulkan/rendering_device_vulkan.cpp:7411 - Condition "!uniform_set" is true.
  Storage buffer supplied (binding: 1) must provide one ID (0 provided).
  ./servers/rendering/renderer_rd/uniform_set_cache_rd.h:129 - Condition "rid.is_null()" is true. Returning: rid
  drivers/vulkan/rendering_device_vulkan.cpp:7411 - Condition "!uniform_set" is true.
  Storage buffer supplied (binding: 1) must provide one ID (0 provided).
  ./servers/rendering/renderer_rd/uniform_set_cache_rd.h:129 - Condition "rid.is_null()" is true. Returning: rid
  drivers/vulkan/rendering_device_vulkan.cpp:7411 - Condition "!uniform_set" is true.
  drivers/vulkan/vulkan_context.cpp:159 -  - Message Id Number: 0 | Message Id Name: 
  	VK_ERROR_FORMAT_NOT_SUPPORTED: VkFormat VK_FORMAT_R4G4B4A4_UNORM_PACK16 is not supported on this device.
  	Objects - 1
  		Object[0] - VK_OBJECT_TYPE_PHYSICAL_DEVICE, Handle 140635496947736
```

### Steps to reproduce

- Open the lighting and environment preview panel
- Enable GI
<img width="487" alt="image" src="https://user-images.githubusercontent.com/18037145/179526485-444d663d-844d-4b03-8520-39573dc073b1.png">

### Minimal reproduction project

_No response_