summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/virgl/virgl_hw.h
diff options
context:
space:
mode:
authorDavid Riley <[email protected]>2019-06-12 17:16:35 -0700
committerDavid Riley <[email protected]>2019-06-19 07:28:47 -0700
commit11e74daae5eb51520cc43efa817a4435516bfb8a (patch)
tree06498deab73587092842e62797b35f23d711a151 /src/gallium/drivers/virgl/virgl_hw.h
parentbc62673dce983efa595f0934102b310fbfe69cf4 (diff)
virgl: Support VIRGL_BIND_SHARED
Support a new virgl bind type for shared buffers. Signed-off-by: David Riley <[email protected]> Reviewed-By: Gert Wollny <[email protected]>
Diffstat (limited to 'src/gallium/drivers/virgl/virgl_hw.h')
-rw-r--r--src/gallium/drivers/virgl/virgl_hw.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/virgl/virgl_hw.h b/src/gallium/drivers/virgl/virgl_hw.h
index 7f300e5cd15..3104e1bb1b1 100644
--- a/src/gallium/drivers/virgl/virgl_hw.h
+++ b/src/gallium/drivers/virgl/virgl_hw.h
@@ -277,6 +277,7 @@ enum virgl_formats {
* are only read by the host.
*/
#define VIRGL_BIND_STAGING (1 << 19)
+#define VIRGL_BIND_SHARED (1 << 20)
struct virgl_caps_bool_set1 {
unsigned indep_blend_enable:1;