OSDN Git Service

virgl: update caps bitset to latest version.
authorDave Airlie <airlied@redhat.com>
Mon, 28 May 2018 01:53:31 +0000 (11:53 +1000)
committerJakob Bornecrantz <jakob@collabora.com>
Wed, 30 May 2018 16:02:19 +0000 (17:02 +0100)
This makes this use all 32 bits, so future sets need to be
defined in a new struct.

Reviewed-by: Jakob Bornecrantz <jakob@collabora.com>
Signed-off-by: Jakob Bornecrantz <jakob@collabora.com>
src/gallium/drivers/virgl/virgl_hw.h

index 93849c0..228aafa 100644 (file)
@@ -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 */