summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_device.c
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2019-10-15 10:29:46 +0200
committerSamuel Pitoiset <[email protected]>2019-10-15 12:13:53 +0200
commit50c8c4144b5d514f0ecff2f77bfdb5dfd17d8afb (patch)
tree850624fba09d61aecc0091fbf48e3bf18fc9ab5a /src/amd/vulkan/radv_device.c
parente353656f3dd547c7af42e61bc052e75e20d57181 (diff)
radv: rename VK_KHR_shader_float16_int8 structs/constants
Trivial change. 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, 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;