panfrost: Add notes about the tiler allocations
[mesa.git] / src / gallium / drivers / v3d / v3d_formats.c
index bdb86935f6588f4f1cd19f606878869923523f0a..5bd8db0dbd419dcadf29a8aa106d40b2a82e0a79 100644 (file)
@@ -142,3 +142,14 @@ v3d_get_internal_type_bpp_for_output_format(const struct v3d_device_info *devinf
                                                                      type, bpp);
         }
 }
+
+bool
+v3d_tfu_supports_tex_format(const struct v3d_device_info *devinfo,
+                            uint32_t tex_format)
+{
+        if (devinfo->ver >= 41) {
+                return v3d41_tfu_supports_tex_format(tex_format);
+        } else {
+                return v3d33_tfu_supports_tex_format(tex_format);
+        }
+}