virgl: Enable CAP_CLEAR_TEXTURE if host supports it
[mesa.git] / src / gallium / drivers / virgl / virgl_hw.h
index b2bed9165eff65420f30ae2932e5f6b7c7d89b4f..ffa22eafb52fd9b17842734a88b1c43c09859e18 100644 (file)
@@ -336,6 +336,7 @@ enum virgl_formats {
 #define VIRGL_CAP_CLIP_HALFZ           (1 << 27)
 #define VIRGL_CAP_APP_TWEAK_SUPPORT    (1 << 28)
 #define VIRGL_CAP_BGRA_SRGB_IS_EMULATED (1 << 29)
+#define VIRGL_CAP_CLEAR_TEXTURE        (1 << 30)
 
 /* virgl bind flags - these are compatible with mesa 10.5 gallium.
  * but are fixed, no other should be passed to virgl either.