mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 11:18:08 +02:00
r600g: Merge fix
This commit is contained in:
parent
b922a0ce12
commit
77217af40d
1 changed files with 10 additions and 1 deletions
|
|
@ -309,7 +309,16 @@ static boolean permit_hardware_blit(struct pipe_screen *screen,
|
|||
PIPE_BIND_SAMPLER_VIEW, 0))
|
||||
return FALSE;
|
||||
|
||||
return TRUE;
|
||||
switch (res->usage) {
|
||||
case PIPE_USAGE_STREAM:
|
||||
case PIPE_USAGE_STAGING:
|
||||
case PIPE_USAGE_STATIC:
|
||||
case PIPE_USAGE_IMMUTABLE:
|
||||
return FALSE;
|
||||
|
||||
default:
|
||||
return TRUE;
|
||||
}
|
||||
}
|
||||
|
||||
static boolean r600_texture_get_handle(struct pipe_screen* screen,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue