freedreno/a4xx: better workaround for astc+srgb
[mesa.git] / src / gallium / drivers / freedreno / ir3 / ir3.h
index f68275e568c38ced5eacbde7ffa7d7e5e614a68d..a40d3aa3b405d40af3350fe6776bcfc95624f01a 100644 (file)
@@ -377,6 +377,12 @@ struct ir3 {
        unsigned keeps_count, keeps_sz;
        struct ir3_instruction **keeps;
 
+       /* Track texture sample instructions which need texture state
+        * patched in (for astc-srgb workaround):
+        */
+       unsigned astc_srgb_count, astc_srgb_sz;
+       struct ir3_instruction **astc_srgb;
+
        /* List of blocks: */
        struct list_head block_list;