Mesa (master): radv: rename VK_KHR_shader_float16_int8 structs/constants
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Oct 15 10:31:23 UTC 2019
Module: Mesa
Branch: master
Commit: 50c8c4144b5d514f0ecff2f77bfdb5dfd17d8afb
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=50c8c4144b5d514f0ecff2f77bfdb5dfd17d8afb
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date: Tue Oct 15 10:29:46 2019 +0200
radv: rename VK_KHR_shader_float16_int8 structs/constants
Trivial change.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
---
src/amd/vulkan/radv_device.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
index cf57a441481..773cae3da37 100644
--- a/src/amd/vulkan/radv_device.c
+++ b/src/amd/vulkan/radv_device.c
@@ -966,9 +966,9 @@ void radv_GetPhysicalDeviceFeatures2(
features->storagePushConstant8 = enabled;
break;
}
- case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FLOAT16_INT8_FEATURES_KHR: {
- VkPhysicalDeviceFloat16Int8FeaturesKHR *features =
- (VkPhysicalDeviceFloat16Int8FeaturesKHR*)ext;
+ case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_FLOAT16_INT8_FEATURES_KHR: {
+ VkPhysicalDeviceShaderFloat16Int8FeaturesKHR *features =
+ (VkPhysicalDeviceShaderFloat16Int8FeaturesKHR*)ext;
features->shaderFloat16 = pdevice->rad_info.chip_class >= GFX8 && !pdevice->use_aco;
features->shaderInt8 = !pdevice->use_aco;
break;
More information about the mesa-commit
mailing list