Turn on shaderInt8.

Now that SPIRV-Cross is updated to support it, we can safely advertise
this.

Fixes #372.
This commit is contained in:
Chip Davis 2019-02-11 12:40:38 -06:00
parent 5d60ba9043
commit e81bd4b25d

View File

@ -86,7 +86,7 @@ void MVKPhysicalDevice::getFeatures(VkPhysicalDeviceFeatures2* features) {
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FLOAT16_INT8_FEATURES_KHR: {
auto* f16Features = (VkPhysicalDeviceFloat16Int8FeaturesKHR*)next;
f16Features->shaderFloat16 = true;
f16Features->shaderInt8 = false; // FIXME Needs SPIRV-Cross update
f16Features->shaderInt8 = true;
next = (MVKVkAPIStructHeader*)f16Features->pNext;
break;
}