diff options
author | Marek Olšák <[email protected]> | 2017-11-25 23:02:00 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-11-29 18:21:30 +0100 |
commit | eae85b99fc9bf0e5ad7696e6dfc989584f11ccbb (patch) | |
tree | 53d466bc0f22e7aff679e01d1adc2037cd7be6d3 /src/gallium/drivers/radeonsi/si_pipe.c | |
parent | 63f88644a5ec84b343edd6d98b9c5e608e003c1b (diff) |
radeonsi: set all pipe buffer functions in r600_buffer_common.c
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_pipe.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_pipe.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c index fd09d78b204..af521a203ae 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.c +++ b/src/gallium/drivers/radeonsi/si_pipe.c @@ -207,6 +207,7 @@ static struct pipe_context *si_create_context(struct pipe_screen *screen, if (sscreen->b.info.drm_major == 3) sctx->b.b.get_device_reset_status = si_amdgpu_get_reset_status; + si_init_buffer_functions(sctx); si_init_clear_functions(sctx); si_init_blit_functions(sctx); si_init_compute_functions(sctx); @@ -598,9 +599,9 @@ struct pipe_screen *radeonsi_screen_create(struct radeon_winsys *ws, /* Set functions first. */ sscreen->b.b.context_create = si_pipe_create_context; sscreen->b.b.destroy = si_destroy_screen; - sscreen->b.b.resource_create = si_resource_create_common; si_init_screen_get_functions(sscreen); + si_init_screen_buffer_functions(sscreen); si_init_screen_fence_functions(sscreen); si_init_screen_state_functions(sscreen); |