Mesa (main): zink: unset PIPE_CAP_TEXRECT
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Apr 14 23:56:55 UTC 2022
Module: Mesa
Branch: main
Commit: 22dd082989e982699f4e6998de1efe5575ebc877
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=22dd082989e982699f4e6998de1efe5575ebc877
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Tue Apr 12 11:46:47 2022 -0400
zink: unset PIPE_CAP_TEXRECT
this isn't supported by vulkan, and though it can be implicitly converted
to 2d in the driver, this still leaves validation spam
Reviewed-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15895>
---
src/gallium/drivers/zink/ci/zink-lvp-fails.txt | 5 +++++
src/gallium/drivers/zink/zink_screen.c | 2 ++
2 files changed, 7 insertions(+)
diff --git a/src/gallium/drivers/zink/ci/zink-lvp-fails.txt b/src/gallium/drivers/zink/ci/zink-lvp-fails.txt
index 9b2540514ad..b4aaa816185 100644
--- a/src/gallium/drivers/zink/ci/zink-lvp-fails.txt
+++ b/src/gallium/drivers/zink/ci/zink-lvp-fails.txt
@@ -1,3 +1,8 @@
+# #6322
+spec at arb_framebuffer_object@fbo-attachments-blit-scaled-linear,Fail
+spec at arb_framebuffer_object@fbo-blit-scaled-linear,Fail
+
+
# #6270
spec at arb_shader_texture_lod@execution at arb_shader_texture_lod-texgradcube,Fail
diff --git a/src/gallium/drivers/zink/zink_screen.c b/src/gallium/drivers/zink/zink_screen.c
index 04a58facf1c..d87d2f40207 100644
--- a/src/gallium/drivers/zink/zink_screen.c
+++ b/src/gallium/drivers/zink/zink_screen.c
@@ -333,6 +333,8 @@ zink_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
struct zink_screen *screen = zink_screen(pscreen);
switch (param) {
+ case PIPE_CAP_TEXRECT:
+ return 0;
case PIPE_CAP_ANISOTROPIC_FILTER:
return screen->info.feats.features.samplerAnisotropy;
case PIPE_CAP_EMULATE_NONFIXED_PRIMITIVE_RESTART:
More information about the mesa-commit
mailing list