aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/zink
diff options
context:
space:
mode:
authorErik Faye-Lund <[email protected]>2020-02-03 17:41:18 +0100
committerMarge Bot <[email protected]>2020-05-26 07:55:17 +0000
commitcd1639cbe330f2b171b72605c75f973de0cb513a (patch)
tree98287aa56b885c5d9b545fcc05b822cc06cb4ebe /src/gallium/drivers/zink
parent4f90e818c8678a17203d5035c6e26427704e56db (diff)
zink: expose PIPE_CAP_TEXTURE_MULTISAMPLE
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5159>
Diffstat (limited to 'src/gallium/drivers/zink')
-rw-r--r--src/gallium/drivers/zink/zink_screen.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/zink/zink_screen.c b/src/gallium/drivers/zink/zink_screen.c
index b16a2f96628..2030c193e58 100644
--- a/src/gallium/drivers/zink/zink_screen.c
+++ b/src/gallium/drivers/zink/zink_screen.c
@@ -113,6 +113,9 @@ zink_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
return 1;
#endif
+ case PIPE_CAP_TEXTURE_MULTISAMPLE:
+ return 1;
+
case PIPE_CAP_TEXTURE_SWIZZLE:
return 1;