tgsi/scan: add images_writemask
[mesa.git] / src / gallium / auxiliary / tgsi / tgsi_scan.h
index d65dec71888ade525eda3e76ec91df8d939cbb11..f52729ae2d27c348131d022835377212301d691b 100644 (file)
@@ -117,6 +117,11 @@ struct tgsi_shader_info
    unsigned culldist_writemask;
    unsigned num_written_culldistance;
    unsigned num_written_clipdistance;
+   /**
+    * Bitmask indicating which images are written to (STORE / ATOM*).
+    * Indirect image accesses are not reflected in this mask.
+    */
+   unsigned images_writemask;
    /**
     * Bitmask indicating which register files are accessed with
     * indirect addressing.  The bits are (1 << TGSI_FILE_x), etc.