util: Move os_misc to util
[mesa.git] / src / gallium / auxiliary / util / u_pstipple.h
index 6fbed80cc9390e9f36c8fba03e68588d72d7a34f..d1662be283942acfb6ed285f99baa4da60ac7dc7 100644 (file)
@@ -36,6 +36,11 @@ struct pipe_resource;
 struct pipe_shader_state;
 
 
+extern void
+util_pstipple_update_stipple_texture(struct pipe_context *pipe,
+                                     struct pipe_resource *tex,
+                                     const uint32_t pattern[32]);
+
 extern struct pipe_resource *
 util_pstipple_create_stipple_texture(struct pipe_context *pipe,
                                      const uint32_t pattern[32]);
@@ -47,10 +52,11 @@ util_pstipple_create_sampler_view(struct pipe_context *pipe,
 extern void *
 util_pstipple_create_sampler(struct pipe_context *pipe);
 
-extern struct pipe_shader_state *
-util_pstipple_create_fragment_shader(struct pipe_context *pipe,
-                                     struct pipe_shader_state *fs,
-                                     unsigned *samplerUnitOut);
+struct tgsi_token *
+util_pstipple_create_fragment_shader(const struct tgsi_token *tokens,
+                                     unsigned *samplerUnitOut,
+                                     unsigned fixed_unit,
+                                     unsigned wincoordFile);
 
 
 #endif