diff options
author | Michel Dänzer <[email protected]> | 2014-04-10 18:15:55 +0900 |
---|---|---|
committer | Michel Dänzer <[email protected]> | 2014-04-15 11:34:56 +0900 |
commit | 313104e8d58002ad00d297e1b229ecd984d79298 (patch) | |
tree | 682f97eadeb0e47a9086f15004b92e942f1cb27c /src | |
parent | 24c773fb0685e85d9b838e3e956e4b7ad6e71251 (diff) |
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 <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/radeon/r600_texture.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeon/r600_texture.c b/src/gallium/drivers/radeon/r600_texture.c index e39b9ec0316..293eeaa0890 100644 --- a/src/gallium/drivers/radeon/r600_texture.c +++ b/src/gallium/drivers/radeon/r600_texture.c @@ -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; } |