Merge pull request #495 from cdavis5e/shader-int8

Turn on shaderInt8.
This commit is contained in:
Bill Hollings 2019-02-11 14:28:06 -05:00 committed by GitHub
commit b2319e5fd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;
}