summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util/u_blit.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2014-09-24 07:27:02 -0600
committerBrian Paul <[email protected]>2014-09-24 15:35:11 -0600
commitb6947e02dedc2ea49c230c17c5c06bbed1c0c063 (patch)
tree0f0ff053b2cd6dd858250bd6ed9a85d5ff72ca0c /src/gallium/auxiliary/util/u_blit.h
parentb32f05e153c2070f07e321e37c48ca94eb929536 (diff)
util: simplify writemask parameters for util_blit_pixels()
Instead of separate color and Z/S writemasks, just have one writemask parameter that takes a mask of the PIPE_MASK_[RGBAZS] flags. Reviewed-by: Charmaine Lee <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/util/u_blit.h')
-rw-r--r--src/gallium/auxiliary/util/u_blit.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/gallium/auxiliary/util/u_blit.h b/src/gallium/auxiliary/util/u_blit.h
index 042c48942ef..b50edab781e 100644
--- a/src/gallium/auxiliary/util/u_blit.h
+++ b/src/gallium/auxiliary/util/u_blit.h
@@ -31,8 +31,6 @@
#include "pipe/p_compiler.h"
-/* for TGSI_WRITEMASK_* specification in util_blit_pixels */
-#include "pipe/p_shader_tokens.h"
#ifdef __cplusplus
@@ -46,9 +44,6 @@ struct pipe_resource;
struct pipe_sampler_view;
struct pipe_surface;
-#define BLIT_WRITEMASK_Z 1
-#define BLIT_WRITEMASK_STENCIL 2
-
extern struct blit_state *
util_create_blit(struct pipe_context *pipe, struct cso_context *cso);
@@ -66,7 +61,7 @@ util_blit_pixels(struct blit_state *ctx,
int dstX0, int dstY0,
int dstX1, int dstY1,
float z, uint filter,
- uint writemask, uint zs_writemask);
+ uint writemask);
extern void
util_blit_pixels_tex(struct blit_state *ctx,