From 225ae9635710677587cb97bd434225391b4b6cef Mon Sep 17 00:00:00 2001 From: Karmjit Mahil Date: Thu, 15 Dec 2022 16:34:52 +0000 Subject: [PATCH] pvr: Don't advertise currently unsupported features This commit removes the advertising of features that are currently unsupported by the driver and aren't strictly necessary for Vulkan 1.0. Signed-off-by: Karmjit Mahil Reviewed-by: Frank Binns Part-of: --- src/imagination/vulkan/pvr_device.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/imagination/vulkan/pvr_device.c b/src/imagination/vulkan/pvr_device.c index c15686e0a9d..b4a69bf2baf 100644 --- a/src/imagination/vulkan/pvr_device.c +++ b/src/imagination/vulkan/pvr_device.c @@ -613,12 +613,12 @@ void pvr_GetPhysicalDeviceFeatures2(VkPhysicalDevice physicalDevice, PVR_HAS_FEATURE(&pdevice->dev_info, robust_buffer_access), .fullDrawIndexUint32 = true, .imageCubeArray = true, - .independentBlend = true, + .independentBlend = false, .geometryShader = false, .tessellationShader = false, .sampleRateShading = true, .dualSrcBlend = false, - .logicOp = true, + .logicOp = false, .multiDrawIndirect = true, .drawIndirectFirstInstance = true, .depthClamp = true, @@ -627,13 +627,13 @@ void pvr_GetPhysicalDeviceFeatures2(VkPhysicalDevice physicalDevice, .depthBounds = false, .wideLines = true, .largePoints = true, - .alphaToOne = true, + .alphaToOne = false, .multiViewport = false, .samplerAnisotropy = false, .textureCompressionETC2 = true, .textureCompressionASTC_LDR = PVR_HAS_FEATURE(&pdevice->dev_info, astc), .textureCompressionBC = false, - .occlusionQueryPrecise = true, + .occlusionQueryPrecise = false, .pipelineStatisticsQuery = false, .vertexPipelineStoresAndAtomics = true, .fragmentStoresAndAtomics = true, @@ -647,8 +647,8 @@ void pvr_GetPhysicalDeviceFeatures2(VkPhysicalDevice physicalDevice, .shaderSampledImageArrayDynamicIndexing = true, .shaderStorageBufferArrayDynamicIndexing = true, .shaderStorageImageArrayDynamicIndexing = true, - .shaderClipDistance = true, - .shaderCullDistance = true, + .shaderClipDistance = false, + .shaderCullDistance = false, .shaderFloat64 = false, .shaderInt64 = true, .shaderInt16 = true,