| 9 | import vk "github.com/goki/vulkan" |
| 10 | |
| 11 | func PlatformDefaults(gp *GPU) { |
| 12 | gp.DeviceFeaturesNeeded = &vk.PhysicalDeviceVulkan12Features{ |
| 13 | SType: vk.StructureTypePhysicalDeviceVulkan12Features, |
| 14 | DescriptorBindingVariableDescriptorCount: vk.True, |
| 15 | DescriptorBindingPartiallyBound: vk.True, |
| 16 | RuntimeDescriptorArray: vk.True, |
| 17 | DescriptorIndexing: vk.True, // might not be needed? not for phong or vdraw |
| 18 | DescriptorBindingSampledImageUpdateAfterBind: vk.True, // might not be needed? not for phong or vdraw |
| 19 | } |
| 20 | } |