virgl: add texture_barrier stub
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Fri, 20 Jul 2018 10:10:20 +0000 (11:10 +0100)
committerDave Airlie <airlied@redhat.com>
Wed, 1 Aug 2018 04:03:51 +0000 (14:03 +1000)
commit7ef86a03f01b63256f7bfef2892cfbbc4c7eb713
tree8f6f40e347a4610c03b07e1b0bffd4f4f1830ffe
parent6f5d463a7860b02f2d0a6f20377626bef770aa78
virgl: add texture_barrier stub

In gallium, supporting FBFETCH means supporting non-coherent fetches, but
in virglrenderer, due to technical reasons this is backed by coherent
fetches instead. This means we don't need to do anything for the barriers.

However, if we don't have a texture_barrier implementation, we get crashes
because the non-coherent extensions is exposed.

So, let's leave this as a NOP for now.

[airlied: I've got a more complete impl of this somewhere, once we
land the host side].
Reviewed-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
src/gallium/drivers/virgl/virgl_context.c