Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14129>
*/
uint32_t array_len;
+ /**
+ * Minimum LOD
+ *
+ * Similar to sampler minimum LOD, the computed LOD is clamped to be at
+ * least min_lod_clamp.
+ */
+ float min_lod_clamp;
+
struct isl_swizzle swizzle;
};
#endif
#endif
+#if GFX_VER >= 7
+ s.ResourceMinLOD = info->view->min_lod_clamp;
+#else
+ assert(info->view->min_lod_clamp == 0);
+#endif
+
#if (GFX_VERx10 >= 75)
if (info->view->usage & ISL_SURF_USAGE_RENDER_TARGET_BIT)
assert(isl_swizzle_supports_rendering(dev->info, info->view->swizzle));