summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_device.c
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2019-05-13 18:43:55 +0200
committerSamuel Pitoiset <[email protected]>2019-05-14 09:15:28 +0200
commit9520e7c1e9206f94f73bb143483147e4600122ec (patch)
treebced7552e89ff40ad8c13784abbdbe9bd8f890d3 /src/amd/vulkan/radv_device.c
parent865b9ddae4874186182e529b5fd154ab04a61f79 (diff)
radv: add support for VK_KHR_uniform_buffer_standard_layout
Nothing to do. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_device.c')
-rw-r--r--src/amd/vulkan/radv_device.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
index b32b1d539b7..4b64f5101ed 100644
--- a/src/amd/vulkan/radv_device.c
+++ b/src/amd/vulkan/radv_device.c
@@ -960,6 +960,12 @@ void radv_GetPhysicalDeviceFeatures2(
features->ycbcrImageArrays = true;
break;
}
+ case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_UNIFORM_BUFFER_STANDARD_LAYOUT_FEATURES_KHR: {
+ VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR *features =
+ (VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR *)ext;
+ features->uniformBufferStandardLayout = true;
+ break;
+ }
default:
break;
}