mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-21 01:10:44 +02:00
virgl/vtest-winsys: Use virgl version of bind flags
The bind flags defined by mesa/gallium might not always be in sync
with the ones copied to virglrenderer/gallium. Therefore, use the
flags defined in virgl like it is done for all the other calls to
create resources.
Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
(cherry picked from commit b710680093)
This commit is contained in:
parent
09c5e548c4
commit
4c995fcae7
1 changed files with 1 additions and 1 deletions
|
|
@ -559,7 +559,7 @@ virgl_cs_create_fence(struct virgl_winsys *vws)
|
|||
res = virgl_vtest_winsys_resource_cache_create(vws,
|
||||
PIPE_BUFFER,
|
||||
PIPE_FORMAT_R8_UNORM,
|
||||
PIPE_BIND_CUSTOM,
|
||||
VIRGL_BIND_CUSTOM,
|
||||
8, 1, 1, 0, 0, 0, 8);
|
||||
|
||||
return (struct pipe_fence_handle *)res;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue