summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/util/u_simple_shaders.h
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2009-09-02 17:58:52 +0100
committerKeith Whitwell <keithw@vmware.com>2009-09-02 18:31:48 +0100
commitde343680a3e6b2a588f8b3c844828b8d9e6cb6a5 (patch)
tree93365ebe884d2cf7d384ae2a15deead43c9d85be /src/gallium/auxiliary/util/u_simple_shaders.h
parent1d7a989b104f02042fadfeec5bd20654bbb6fea6 (diff)
util: add version of u_blit_pixels which takes a writemask
Values outside the writemask are set in the destination to {0,0,0,1}
Diffstat (limited to 'src/gallium/auxiliary/util/u_simple_shaders.h')
-rw-r--r--src/gallium/auxiliary/util/u_simple_shaders.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/u_simple_shaders.h b/src/gallium/auxiliary/util/u_simple_shaders.h
index 6f8d96af9b..d2e80d6eb4 100644
--- a/src/gallium/auxiliary/util/u_simple_shaders.h
+++ b/src/gallium/auxiliary/util/u_simple_shaders.h
@@ -50,6 +50,10 @@ util_make_vertex_passthrough_shader(struct pipe_context *pipe,
extern void *
+util_make_fragment_tex_shader_writemask(struct pipe_context *pipe,
+ unsigned writemask );
+
+extern void *
util_make_fragment_tex_shader(struct pipe_context *pipe);