Comment # 6
on bug 108572
from Marco
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: