<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 Nov 29, 2016, at 8:23 PM, Ilia Mirkin <<a href="mailto:imirkin@alum.mit.edu" class="">imirkin@alum.mit.edu</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="">There is no support for resuming streamout. Furthermore, this also<br class="">
controls glDrawTransformFeedback functionality which requires the same<br class="">
ability to query how many primitives were sent out of TF.<br class="">
<br class="">
Signed-off-by: Ilia Mirkin <<a href="mailto:imirkin@alum.mit.edu" class="">imirkin@alum.mit.edu</a>><br class="">
---<br class="">
<br class="">
I have a partially-working patch for bringing this back, but it's not 100%<br class="">
quite yet - some sort of issues with concurrency I have yet to track down.<br class="">
<br class="">
However in the current state, this is just totally not supported by the FE<br class="">
(but the swr core does do this).<br class="">
<br class="">
src/gallium/drivers/swr/swr_screen.cpp | 2 +-<br class="">
1 file changed, 1 insertion(+), 1 deletion(-)<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 19bb102..e184548 100644<br class="">
--- a/src/gallium/drivers/swr/swr_screen.cpp<br class="">
+++ b/src/gallium/drivers/swr/swr_screen.cpp<br class="">
@@ -232,7 +232,6 @@ swr_get_param(struct pipe_screen *screen, enum pipe_cap param)<br class="">
   case PIPE_CAP_USER_VERTEX_BUFFERS:<br class="">
   case PIPE_CAP_USER_INDEX_BUFFERS:<br class="">
   case PIPE_CAP_USER_CONSTANT_BUFFERS:<br class="">
-   case PIPE_CAP_STREAM_OUTPUT_PAUSE_RESUME:<br class="">
   case PIPE_CAP_STREAM_OUTPUT_INTERLEAVE_BUFFERS:<br class="">
   case PIPE_CAP_QUERY_TIMESTAMP:<br class="">
   case PIPE_CAP_TEXTURE_BUFFER_OBJECTS:<br class="">
@@ -311,6 +310,7 @@ swr_get_param(struct pipe_screen *screen, enum pipe_cap param)<br class="">
   case PIPE_CAP_POLYGON_OFFSET_UNITS_UNSCALED:<br class="">
   case PIPE_CAP_VIEWPORT_SUBPIXEL_BITS:<br class="">
   case PIPE_CAP_TGSI_ARRAY_COMPONENTS:<br class="">
+   case PIPE_CAP_STREAM_OUTPUT_PAUSE_RESUME:<br class="">
      return 0;<br class="">
<br class="">
   case PIPE_CAP_VENDOR_ID:<br class="">
-- <br class="">
2.7.3<br class="">
<br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>