radeonsi: fix regression from 32-bit pointers on CI
authorMarek Olšák <marek.olsak@amd.com>
Mon, 19 Feb 2018 16:55:34 +0000 (17:55 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 19 Feb 2018 16:56:23 +0000 (17:56 +0100)
Tested-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/drivers/radeonsi/si_pipe.c

index f07ec50ab7b2dc684f9d036a43ad33c80608287f..ec543f2c0eee5e1b72ce96bb3bab24855ec3c364 100644 (file)
@@ -357,7 +357,7 @@ static struct pipe_context *si_create_context(struct pipe_screen *screen,
        if (sctx->b.chip_class == CIK) {
                sctx->null_const_buf.buffer =
                        si_aligned_buffer_create(screen,
-                                                  R600_RESOURCE_FLAG_UNMAPPABLE,
+                                                R600_RESOURCE_FLAG_32BIT,
                                                   PIPE_USAGE_DEFAULT, 16,
                                                   sctx->screen->info.tcc_cache_line_size);
                if (!sctx->null_const_buf.buffer)