anv: Update to use the new features struct names
These were updated in version 1.1.106 of vulkan.h to make more sense with the extension names. We may as well keep with the times. Acked-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
This commit is contained in:
parent
7f113c07b2
commit
90108deb27
|
@ -953,8 +953,8 @@ void anv_GetPhysicalDeviceFeatures2(
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_ADDRESS_FEATURES_EXT: {
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_DEVICE_ADDRESS_FEATURES_EXT: {
|
||||||
VkPhysicalDeviceBufferAddressFeaturesEXT *features = (void *)ext;
|
VkPhysicalDeviceBufferDeviceAddressFeaturesEXT *features = (void *)ext;
|
||||||
features->bufferDeviceAddress = pdevice->use_softpin &&
|
features->bufferDeviceAddress = pdevice->use_softpin &&
|
||||||
pdevice->info.gen >= 8;
|
pdevice->info.gen >= 8;
|
||||||
features->bufferDeviceAddressCaptureReplay = false;
|
features->bufferDeviceAddressCaptureReplay = false;
|
||||||
|
@ -1025,14 +1025,14 @@ void anv_GetPhysicalDeviceFeatures2(
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DRAW_PARAMETER_FEATURES: {
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DRAW_PARAMETERS_FEATURES: {
|
||||||
VkPhysicalDeviceShaderDrawParameterFeatures *features = (void *)ext;
|
VkPhysicalDeviceShaderDrawParametersFeatures *features = (void *)ext;
|
||||||
features->shaderDrawParameters = true;
|
features->shaderDrawParameters = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTER_FEATURES: {
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTERS_FEATURES: {
|
||||||
VkPhysicalDeviceVariablePointerFeatures *features = (void *)ext;
|
VkPhysicalDeviceVariablePointersFeatures *features = (void *)ext;
|
||||||
features->variablePointersStorageBuffer = true;
|
features->variablePointersStorageBuffer = true;
|
||||||
features->variablePointers = true;
|
features->variablePointers = true;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue