diff options
author | Marek Olšák <[email protected]> | 2018-01-27 02:05:23 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-02-17 04:20:55 +0100 |
commit | 16be55da94ea5e68edc1da8b354402d85306ab20 (patch) | |
tree | d9e1b48f7fbaa40e019526a6b84c8e928aefc378 /src/gallium/drivers/radeonsi/si_pipe.c | |
parent | 8e7222f4e5d624313bf972637d22b49fc7200383 (diff) |
gallium: use PIPE_CAP_CONSTBUF0_FLAGS
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_pipe.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_pipe.c | 2 |
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 31805574842..11915453082 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.c +++ b/src/gallium/drivers/radeonsi/si_pipe.c @@ -587,7 +587,7 @@ static void si_test_vmfault(struct si_screen *sscreen) struct pipe_context *ctx = sscreen->aux_context; struct si_context *sctx = (struct si_context *)ctx; struct pipe_resource *buf = - pipe_buffer_create(&sscreen->b, 0, PIPE_USAGE_DEFAULT, 64); + pipe_buffer_create_const0(&sscreen->b, 0, PIPE_USAGE_DEFAULT, 64); if (!buf) { puts("Buffer allocation failed."); |