Vulkan: Set Geometry Shader Capability

Vulkan already used geometry stages, but it wasn't set as backend
capability. This resulted that the shader builder didn't validate
shaders that uses geometry stages.

Pull Request: https://projects.blender.org/blender/blender/pulls/111139
This commit is contained in:
Jeroen Bakker
2023-08-15 15:53:56 +02:00
parent e90ceefd18
commit 616e0c8c1d

View File

@@ -217,6 +217,7 @@ void VKBackend::capabilities_init(VKDevice &device)
/* Reset all capabilities from previous context. */
GCaps = {};
GCaps.compute_shader_support = true;
GCaps.geometry_shader_support = true;
GCaps.shader_storage_buffer_objects_support = true;
GCaps.shader_image_load_store_support = true;