unsigned int validated_first_level;
unsigned int validated_last_level;
- /* On validation any active images held in main memory or in other
- * regions will be copied to this region and the old storage freed.
+ /* The miptree of pixel data for the texture (if !needs_validate). After
+ * validation, the images will also have references to the same mt.
*/
struct intel_mipmap_tree *mt;
* might not all be the mipmap tree above.
*/
bool needs_validate;
+
+ /* Mesa format for the validated texture object. For non-views this
+ * will always be the same as mt->format. For views, it may differ
+ * since the mt is shared across views with differing formats.
+ */
+ mesa_format _Format;
};