[Mesa-dev] [PATCH 1/5] virgl: update caps bitset to latest version.

Dave Airlie airlied at gmail.com
Mon May 28 01:53:31 UTC 2018


From: Dave Airlie <airlied at redhat.com>

This makes this use all 32 bits, so future sets need to be
defined in a new struct.
---
 src/gallium/drivers/virgl/virgl_hw.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/gallium/drivers/virgl/virgl_hw.h b/src/gallium/drivers/virgl/virgl_hw.h
index 93849c03ddd..228aafa770d 100644
--- a/src/gallium/drivers/virgl/virgl_hw.h
+++ b/src/gallium/drivers/virgl/virgl_hw.h
@@ -237,6 +237,11 @@ struct virgl_caps_bool_set1 {
         unsigned has_indirect_draw:1;
         unsigned has_sample_shading:1;
         unsigned has_cull:1;
+        unsigned conditional_render_inverted:1;
+        unsigned derivative_control:1;
+        unsigned polygon_offset_clamp:1;
+        unsigned transform_feedback_overflow_query:1;
+        /* DO NOT ADD ANYMORE MEMBERS - need to add another 32-bit to v2 caps */
 };
 
 /* endless expansion capabilites - current gallium has 252 formats */
-- 
2.14.3



More information about the mesa-dev mailing list