mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 02:58:05 +02:00
r600g/radeonsi: Use caching buffer manager for textures as well
Significantly reduces BO allocation / destruction overhead for transfers,
e.g. measurable via x11perf -shm{ge,pu}t* with glamor.
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
parent
24c773fb06
commit
313104e8d5
1 changed files with 1 additions and 1 deletions
|
|
@ -633,7 +633,7 @@ r600_texture_create_object(struct pipe_screen *screen,
|
|||
/* Now create the backing buffer. */
|
||||
if (!buf) {
|
||||
if (!r600_init_resource(rscreen, resource, rtex->size,
|
||||
rtex->surface.bo_alignment, FALSE)) {
|
||||
rtex->surface.bo_alignment, TRUE)) {
|
||||
FREE(rtex);
|
||||
return NULL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue