mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 13:00:09 +01:00
st/vdpau: use linear layout for output surfaces
Works around a bug in radeonsi and tiling is actually not very beneficial in this use case. Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Leo Liu <leo.liu@amd.com>
This commit is contained in:
parent
7eb5e5b8b4
commit
d180de3532
1 changed files with 2 additions and 1 deletions
|
|
@ -79,7 +79,8 @@ vlVdpOutputSurfaceCreate(VdpDevice device,
|
|||
res_tmpl.height0 = height;
|
||||
res_tmpl.depth0 = 1;
|
||||
res_tmpl.array_size = 1;
|
||||
res_tmpl.bind = PIPE_BIND_SAMPLER_VIEW | PIPE_BIND_RENDER_TARGET;
|
||||
res_tmpl.bind = PIPE_BIND_SAMPLER_VIEW | PIPE_BIND_RENDER_TARGET |
|
||||
PIPE_BIND_LINEAR;
|
||||
res_tmpl.usage = PIPE_USAGE_DEFAULT;
|
||||
|
||||
pipe_mutex_lock(dev->mutex);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue