panfrost: Treat texture dimension as first-class
[mesa.git] / src / panfrost / midgard / midgard.h
index d93b845098b32f0ef086f36a697eebe0a6e5d743..bcda23262f0c671048832d875eceb0b9bd451923 100644 (file)
@@ -679,7 +679,7 @@ __attribute__((__packed__))
         unsigned cont  : 1;
         unsigned last  : 1;
 
-        enum mali_texture_type format : 2;
+        unsigned format : 2;
 
         /* Are sampler_handle/texture_handler respectively set by registers? If
          * true, the lower 8-bits of the respective field is a register word.