-/**
- * Subclass of tgsi_sampler
- */
-struct sp_sampler_variant
-{
- struct tgsi_sampler base; /**< base class */
+typedef void (*mip_filter_func)(const struct sp_sampler_view *sp_sview,
+ const struct sp_sampler *sp_samp,
+ img_filter_func min_filter,
+ img_filter_func mag_filter,
+ const float s[TGSI_QUAD_SIZE],
+ const float t[TGSI_QUAD_SIZE],
+ const float p[TGSI_QUAD_SIZE],
+ int gather_comp,
+ const float lod[TGSI_QUAD_SIZE],
+ const struct filter_args *args,
+ float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE]);