mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-09 17:00:13 +01:00
radv: 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.
See also: 90108deb27 "anv: Update to use the new features struct names"
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
This commit is contained in:
parent
b80930a6fe
commit
941b2f4dcd
1 changed files with 8 additions and 8 deletions
|
|
@ -794,8 +794,8 @@ void radv_GetPhysicalDeviceFeatures2(
|
|||
RADV_FROM_HANDLE(radv_physical_device, pdevice, physicalDevice);
|
||||
vk_foreach_struct(ext, pFeatures->pNext) {
|
||||
switch (ext->sType) {
|
||||
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTER_FEATURES: {
|
||||
VkPhysicalDeviceVariablePointerFeatures *features = (void *)ext;
|
||||
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTERS_FEATURES: {
|
||||
VkPhysicalDeviceVariablePointersFeatures *features = (void *)ext;
|
||||
features->variablePointersStorageBuffer = true;
|
||||
features->variablePointers = true;
|
||||
break;
|
||||
|
|
@ -807,9 +807,9 @@ void radv_GetPhysicalDeviceFeatures2(
|
|||
features->multiviewTessellationShader = true;
|
||||
break;
|
||||
}
|
||||
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DRAW_PARAMETER_FEATURES: {
|
||||
VkPhysicalDeviceShaderDrawParameterFeatures *features =
|
||||
(VkPhysicalDeviceShaderDrawParameterFeatures*)ext;
|
||||
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DRAW_PARAMETERS_FEATURES: {
|
||||
VkPhysicalDeviceShaderDrawParametersFeatures *features =
|
||||
(VkPhysicalDeviceShaderDrawParametersFeatures*)ext;
|
||||
features->shaderDrawParameters = true;
|
||||
break;
|
||||
}
|
||||
|
|
@ -893,9 +893,9 @@ void radv_GetPhysicalDeviceFeatures2(
|
|||
features->memoryPriority = VK_TRUE;
|
||||
break;
|
||||
}
|
||||
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_ADDRESS_FEATURES_EXT: {
|
||||
VkPhysicalDeviceBufferAddressFeaturesEXT *features =
|
||||
(VkPhysicalDeviceBufferAddressFeaturesEXT *)ext;
|
||||
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_DEVICE_ADDRESS_FEATURES_EXT: {
|
||||
VkPhysicalDeviceBufferDeviceAddressFeaturesEXT *features =
|
||||
(VkPhysicalDeviceBufferDeviceAddressFeaturesEXT *)ext;
|
||||
features->bufferDeviceAddress = true;
|
||||
features->bufferDeviceAddressCaptureReplay = false;
|
||||
features->bufferDeviceAddressMultiDevice = false;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue