Module: Mesa Branch: main Commit: 225ae9635710677587cb97bd434225391b4b6cef URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=225ae9635710677587cb97bd434225391b4b6cef
Author: Karmjit Mahil <[email protected]> Date: Thu Dec 15 16:34:52 2022 +0000 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 <[email protected]> Reviewed-by: Frank Binns <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21649> --- 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,
