aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2018-02-19 17:55:34 +0100
committerMarek Olšák <[email protected]>2018-02-19 17:56:23 +0100
commitf78fe98fff672b2a40d64d71e28f37f4a2983589 (patch)
tree0475a6b13a3d45e705e6fa951e4a9ec7443aa915 /src/gallium
parent549c7f372442ebeeff5c7d3f45920a0bd87795db (diff)
radeonsi: fix regression from 32-bit pointers on CI
Tested-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/radeonsi/si_pipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c
index f07ec50ab7b..ec543f2c0ee 100644
--- a/src/gallium/drivers/radeonsi/si_pipe.c
+++ b/src/gallium/drivers/radeonsi/si_pipe.c
@@ -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)