virgl: Fix flush in virgl_encoder_inline_write.
[mesa.git] / src / gallium / drivers / virgl / virgl_hw.h
index ee58520f9bb5062410f62741956303507b42790e..118249e6950b3e426ed281c2f6dc7d27d9f42955 100644 (file)
@@ -200,6 +200,8 @@ enum virgl_formats {
 /* These are used by the capability_bits field in virgl_caps_v2. */
 #define VIRGL_CAP_NONE 0
 #define VIRGL_CAP_TGSI_INVARIANT       (1 << 0)
+#define VIRGL_CAP_TEXTURE_VIEW         (1 << 1)
+#define VIRGL_CAP_SET_MIN_SAMPLES      (1 << 2)
 
 #define VIRGL_BIND_DEPTH_STENCIL (1 << 0)
 #define VIRGL_BIND_RENDER_TARGET (1 << 1)
@@ -298,6 +300,7 @@ struct virgl_caps_v2 {
         uint32_t uniform_buffer_offset_alignment;
         uint32_t shader_buffer_offset_alignment;
         uint32_t capability_bits;
+       uint32_t msaa_sample_positions[8];
 };
 
 union virgl_caps {