On 16.09.2016 17:18, Gustaw Smolarczyk wrote:
2016-09-16 15:57 GMT+02:00 Nicolai Hähnle <nhaeh...@gmail.com>:
From: Nicolai Hähnle <nicolai.haeh...@amd.com>

---
 src/gallium/drivers/radeon/r600_pipe_common.c |   3 +
 src/gallium/drivers/radeon/r600_pipe_common.h |   2 +
 src/gallium/drivers/radeon/r600_query.c       | 391 +++++++++++++++++++++++++-
 src/gallium/drivers/radeon/r600_query.h       |   7 +
 4 files changed, 402 insertions(+), 1 deletion(-)
[snip]
+/* Create the compute shader that is used to collect the results.
+ *
+ * One compute grid with a single thread is launched for every query result
+ * buffer. The thread (optionally) reads a previous summary buffer, then
+ * accumulates data from the query result buffer, and writes the result either
+ * to a summary buffer to be consumed by the next grid invocation or to the
+ * user-supplied buffer.
+ *
+ * Data layout:
+ *
+ * CONST
+ *  0.x = end_offset
+ *  0.y = result_stride
+ *  0.z = result_count
+ *  0.w = bit field:
+ *          0: read previously accumulated values

Are you sure you didn't mean 1 here instead of 0?

Yes, of course. Thanks!

Nicolai

Regards,
Gustaw
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to