mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 22:38:05 +02:00
r600g: permit blitting between textures with STREAM and STAGING usage
Eventually I'd like to make every format blittable, so that the function can go away. Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com>
This commit is contained in:
parent
597fd6dc8c
commit
515a64a28c
1 changed files with 1 additions and 8 deletions
|
|
@ -444,14 +444,7 @@ static boolean permit_hardware_blit(struct pipe_screen *screen,
|
|||
PIPE_BIND_SAMPLER_VIEW))
|
||||
return FALSE;
|
||||
|
||||
switch (res->usage) {
|
||||
case PIPE_USAGE_STREAM:
|
||||
case PIPE_USAGE_STAGING:
|
||||
return FALSE;
|
||||
|
||||
default:
|
||||
return TRUE;
|
||||
}
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
static boolean r600_texture_get_handle(struct pipe_screen* screen,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue