aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/virgl/virgl_hw.h
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2018-07-31 04:45:15 +1000
committerDave Airlie <[email protected]>2018-08-01 14:00:38 +1000
commit6f5d463a7860b02f2d0a6f20377626bef770aa78 (patch)
treea0cd59982c3cbcb2b68d425bd5bd9b82a2f4f5ea /src/gallium/drivers/virgl/virgl_hw.h
parent2df8b80c4c4842ef80d8b80f1fed53e75a82645d (diff)
virgl: enable robustness if the host exposes it
Reviewed-by: Gurchetan Singh <[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 3ccc979ac8c..487cbd67824 100644
--- a/src/gallium/drivers/virgl/virgl_hw.h
+++ b/src/gallium/drivers/virgl/virgl_hw.h
@@ -208,6 +208,7 @@ enum virgl_formats {
#define VIRGL_CAP_MEMORY_BARRIER (1 << 6)
#define VIRGL_CAP_COMPUTE_SHADER (1 << 7)
#define VIRGL_CAP_FB_NO_ATTACH (1 << 8)
+#define VIRGL_CAP_ROBUST_BUFFER_ACCESS (1 << 9)
#define VIRGL_BIND_DEPTH_STENCIL (1 << 0)
#define VIRGL_BIND_RENDER_TARGET (1 << 1)