i915g: handle more formats in copy
[mesa.git] / src / gallium / drivers / i915 / i915_state.h
index f529329d8c276f830f94695de40ef60d0acac935..56ebb2ddb868780d45ecaa1d9a62b31a282bf15a 100644 (file)
@@ -53,5 +53,11 @@ extern struct i915_tracked_state i915_hw_constants;
 
 void i915_update_derived(struct i915_context *i915);
 void i915_emit_hardware_state(struct i915_context *i915);
+struct pipe_sampler_view *
+i915_create_sampler_view_custom(struct pipe_context *pipe,
+                                struct pipe_resource *texture,
+                                const struct pipe_sampler_view *templ,
+                                unsigned width0,
+                                unsigned height0);
 
 #endif