iris: Enable the dual_color_blend_by_location driconf option.
[mesa.git] / src / gallium / drivers / iris / iris_screen.h
index 8a75374429f5ca5346a3a7562e97a956eea90bce..a8f33dc32368676e80c4db97dfd32451c3028308 100644 (file)
@@ -60,6 +60,12 @@ struct iris_screen {
    /** Precompile shaders at link time?  (Can be disabled for debugging.) */
    bool precompile;
 
+   /** driconf options and application workarounds */
+   struct {
+      /** Dual color blend by location instead of index (for broken apps) */
+      bool dual_color_blend_by_location;
+   } driconf;
+
    unsigned subslice_total;
 
    struct gen_device_info devinfo;