Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
VkPhysicalDeviceFloat16Int8FeaturesKHR *features =
(VkPhysicalDeviceFloat16Int8FeaturesKHR*)ext;
bool enabled = pdevice->rad_info.chip_class >= VI;
- features->shaderFloat16 = VK_FALSE;
+ features->shaderFloat16 = enabled && HAVE_LLVM >= 0x0800;
features->shaderInt8 = enabled;
break;
}
.variable_pointers = true,
.storage_8bit = true,
.int8 = true,
+ .float16 = true,
},
.ubo_ptr_type = glsl_vector_type(GLSL_TYPE_UINT, 2),
.ssbo_ptr_type = glsl_vector_type(GLSL_TYPE_UINT, 2),