<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Reviewed-by: Tim Rowley <<a href="mailto:timothy.o.rowley@intel.com" class="">timothy.o.rowley@intel.com</a>>
<div class=""><br class="">
<div style="">
<blockquote type="cite" class="">
<div class="">On Apr 12, 2017, at 6:53 PM, Bruce Cherniak <<a href="mailto:bruce.cherniak@intel.com" class="">bruce.cherniak@intel.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="">Removed unnecessary and probably wrong PIPE_BIND_SCANOUT and PIPE_BIND_SHARED<br class="">
flags in favor of check on single PIPE_BIND_DISPLAY_TARGET flag.<br class="">
<br class="">
Reference llvmpipe change <bee4c7718a3bd57e3d99f0913d9081cd13fe5fd><br class="">
<br class="">
---<br class="">
src/gallium/drivers/swr/swr_screen.cpp | 3 +--<br class="">
1 file changed, 1 insertion(+), 2 deletions(-)<br class="">
<br class="">
diff --git a/src/gallium/drivers/swr/swr_screen.cpp b/src/gallium/drivers/swr/swr_screen.cpp<br class="">
index 3d3d103..87fd898 100644<br class="">
--- a/src/gallium/drivers/swr/swr_screen.cpp<br class="">
+++ b/src/gallium/drivers/swr/swr_screen.cpp<br class="">
@@ -103,8 +103,7 @@ swr_is_format_supported(struct pipe_screen *screen,<br class="">
   if (sample_count > 1)<br class="">
      return FALSE;<br class="">
<br class="">
-   if (bind<br class="">
-       & (PIPE_BIND_DISPLAY_TARGET | PIPE_BIND_SCANOUT | PIPE_BIND_SHARED)) {<br class="">
+   if (bind & PIPE_BIND_DISPLAY_TARGET) {<br class="">
      if (!winsys->is_displaytarget_format_supported(winsys, bind, format))<br class="">
         return FALSE;<br class="">
   }<br class="">
-- <br class="">
2.7.4<br class="">
<br class="">
_______________________________________________<br class="">
mesa-dev mailing list<br class="">
<a href="mailto:mesa-dev@lists.freedesktop.org" class="">mesa-dev@lists.freedesktop.org</a><br class="">
https://lists.freedesktop.org/mailman/listinfo/mesa-dev<br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>