https://bugs.freedesktop.org/show_bug.cgi?id=108572

--- Comment #6 from Marco <mpia...@gmail.com> ---
As previously said, commenting si_clear_buffer makes clinfo and opencl work
again (with mesa master from git)


ndex c6f93e7..1523919 100644
--- a/src/gallium/drivers/radeonsi/si_pipe.c
+++ b/src/gallium/drivers/radeonsi/si_pipe.c
@@ -616,9 +616,9 @@ static struct pipe_context *si_create_context(struct
pipe_screen *screen,
        if (sctx->chip_class == CIK) {
                /* Clear the NULL constant buffer, because loads should return
zeros. */
                uint32_t clear_value = 0;
-               si_clear_buffer(sctx, sctx->null_const_buf.buffer, 0,
+               /*si_clear_buffer(sctx, sctx->null_const_buf.buffer, 0,
                                sctx->null_const_buf.buffer->width0,
-                               &clear_value, 4, SI_COHERENCY_SHADER);
+                               &clear_value, 4, SI_COHERENCY_SHADER);*/
        }
        return &sctx->b;
 fail:

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Reply via email to