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@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15895>
This commit is contained in:
Mike Blumenkrantz
2022-04-12 11:46:47 -04:00
committed by Marge Bot
parent 2058ae7b43
commit 22dd082989
2 changed files with 7 additions and 0 deletions
@@ -1,3 +1,8 @@
# #6322
spec@arb_framebuffer_object@fbo-attachments-blit-scaled-linear,Fail
spec@arb_framebuffer_object@fbo-blit-scaled-linear,Fail
# #6270
spec@arb_shader_texture_lod@execution@arb_shader_texture_lod-texgradcube,Fail
+2
View File
@@ -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: