svga: use upload buffer for upload texture.
[mesa.git] / src / gallium / drivers / svga / svga_sampler_view.h
index 7f14323f84fdaf789031f2621ad64757e6110fa1..7521a82bac3cfce0833af12536f6fd14377cf533 100644 (file)
@@ -35,7 +35,9 @@
 struct pipe_context;
 struct pipe_screen;
 struct svga_context;
+struct svga_pipe_sampler_view;
 struct svga_winsys_surface;
+struct svga_surface;
 enum SVGA3dSurfaceFormat;
 
 
@@ -97,5 +99,17 @@ svga_sampler_view_reference(struct svga_sampler_view **ptr, struct svga_sampler_
    *ptr = v;
 }
 
+boolean
+svga_check_sampler_view_resource_collision(struct svga_context *svga,
+                                           struct svga_winsys_surface *res,
+                                           enum pipe_shader_type shader);
+
+boolean
+svga_check_sampler_framebuffer_resource_collision(struct svga_context *svga,
+                                                  enum pipe_shader_type shader);
+
+enum pipe_error
+svga_validate_pipe_sampler_view(struct svga_context *svga,
+                                struct svga_pipe_sampler_view *sv);
 
 #endif