Module: Mesa
Branch: staging/23.0
Commit: b1c45f15bd23a761e35233f3acd2844af50be03e
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b1c45f15bd23a761e35233f3acd2844af50be03e

Author: Mike Blumenkrantz <[email protected]>
Date:   Thu Apr 20 14:03:19 2023 -0400

zink: add z32s8 as mandatory GL3.0 profile attachment format

fixes #8616

cc: mesa-stable

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22608>
(cherry picked from commit 1bc9efc10c2329d6442f39115a1c013fd870f48d)

---

 .pick_status.json                                  | 2 +-
 src/gallium/drivers/zink/VP_ZINK_requirements.json | 9 +++++++++
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/.pick_status.json b/.pick_status.json
index eba4cee47f2..9d82f91a1a6 100644
--- a/.pick_status.json
+++ b/.pick_status.json
@@ -44,7 +44,7 @@
         "description": "zink: add z32s8 as mandatory GL3.0 profile attachment 
format",
         "nominated": true,
         "nomination_type": 0,
-        "resolution": 0,
+        "resolution": 1,
         "main_sha": null,
         "because_sha": null,
         "notes": null
diff --git a/src/gallium/drivers/zink/VP_ZINK_requirements.json 
b/src/gallium/drivers/zink/VP_ZINK_requirements.json
index 50408cc6abc..5d8c6d9994b 100644
--- a/src/gallium/drivers/zink/VP_ZINK_requirements.json
+++ b/src/gallium/drivers/zink/VP_ZINK_requirements.json
@@ -83,6 +83,15 @@
                 "VkPhysicalDeviceFeatures": {
                     "independentBlend": true
                 }
+            },
+            "formats": {
+                "VK_FORMAT_D32_SFLOAT_S8_UINT": {
+                    "VkFormatProperties": {
+                        "optimalTilingFeatures": [
+                            "VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT"
+                        ]
+                    }
+                }
             }
         },
         "gl31_baseline": {

Reply via email to