diff options
author | Marek Olšák <[email protected]> | 2018-04-01 18:24:21 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-04-05 15:34:58 -0400 |
commit | 5f1cddde78aa93ea1272c50a93e479cb76144af7 (patch) | |
tree | d15f06810cff8dab176ad61f065c76f27d385902 /src/gallium/drivers/radeonsi/si_pipe.c | |
parent | a67ee02388db727a165fd14af313043789f43ad3 (diff) |
radeonsi: move definitions out of r600_pipe_common.h
Acked-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_pipe.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_pipe.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c index d230d28dd55..298391127dd 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.c +++ b/src/gallium/drivers/radeonsi/si_pipe.c @@ -383,15 +383,15 @@ static struct pipe_context *si_create_context(struct pipe_screen *screen, sctx->b.b.stream_uploader = u_upload_create(&sctx->b.b, 1024 * 1024, 0, PIPE_USAGE_STREAM, - R600_RESOURCE_FLAG_READ_ONLY); + SI_RESOURCE_FLAG_READ_ONLY); if (!sctx->b.b.stream_uploader) goto fail; sctx->b.b.const_uploader = u_upload_create(&sctx->b.b, 128 * 1024, 0, PIPE_USAGE_DEFAULT, - R600_RESOURCE_FLAG_32BIT | + SI_RESOURCE_FLAG_32BIT | (sscreen->cpdma_prefetch_writes_memory ? - 0 : R600_RESOURCE_FLAG_READ_ONLY)); + 0 : SI_RESOURCE_FLAG_READ_ONLY)); if (!sctx->b.b.const_uploader) goto fail; @@ -500,7 +500,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_32BIT, + SI_RESOURCE_FLAG_32BIT, PIPE_USAGE_DEFAULT, 16, sctx->screen->info.tcc_cache_line_size); if (!sctx->null_const_buf.buffer) |