Mesa (master): zink: expose PIPE_CAP_TEXTURE_MULTISAMPLE

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue May 26 08:06:10 UTC 2020


Module: Mesa
Branch: master
Commit: cd1639cbe330f2b171b72605c75f973de0cb513a
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cd1639cbe330f2b171b72605c75f973de0cb513a

Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date:   Mon Feb  3 17:41:18 2020 +0100

zink: expose PIPE_CAP_TEXTURE_MULTISAMPLE

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5159>

---

 src/gallium/drivers/zink/zink_screen.c | 3 +++
 1 file changed, 3 insertions(+)

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;
 



More information about the mesa-commit mailing list