zink: update textureCompressionBC requirement
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Wed, 16 Nov 2022 11:55:26 +0000 (12:55 +0100)
committerEric Engestrom <eric@engestrom.ch>
Wed, 30 Nov 2022 21:12:42 +0000 (21:12 +0000)
The mesa state-tracker can now emulate all formats indicated by this
feature-flag, so we don't require this for OpenGL 4.2 any more.

It's however a good idea to support for power-usage and performance
reasons, saving on memory bandwidth. So let's move it to the
gl46_optimal block instead.

Fixes: e4ff42684b9 ("mesa/st: enable bptc extension with fallback")
Fixes: 2ea481b2f0a ("Zink: add Zink profiles file")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19779>
(cherry picked from commit 13bccac5a7d930c809927e69ba7305330fb8a9be)

.pick_status.json
docs/drivers/zink.rst
src/gallium/drivers/zink/VP_ZINK_requirements.json

index f23b500..f94eb4a 100644 (file)
         "description": "zink: update textureCompressionBC requirement",
         "nominated": true,
         "nomination_type": 1,
-        "resolution": 0,
+        "resolution": 1,
         "main_sha": null,
         "because_sha": "e4ff42684b95cfbc9c7b088a1f133bd0555b11e1"
     },
index cf5476f..1a7b84b 100644 (file)
@@ -175,7 +175,6 @@ supported:
   * ``shaderStorageImageWriteWithoutFormat``
   * ``vertexPipelineStoresAndAtomics``
   * ``fragmentStoresAndAtomics``
-  * ``textureCompressionBC``
 
 * For Vulkan 1.2 and above:
 
index 51bdb52..f42f4c8 100644 (file)
                     "shaderStorageImageExtendedFormats": true,
                     "shaderStorageImageWriteWithoutFormat": true,
                     "vertexPipelineStoresAndAtomics": true,
-                    "fragmentStoresAndAtomics": true,
-                    "textureCompressionBC": true
+                    "fragmentStoresAndAtomics": true
                 }
             }
         },
                 "VK_EXT_non_seamless_cube_map": 1
             },
             "features": {
+                "VkPhysicalDeviceFeatures": {
+                    "textureCompressionBC": true
+                },
                 "VkPhysicalDeviceExtendedDynamicStateFeaturesEXT": {
                     "extendedDynamicState": true
                 },