summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util/u_blitter.h
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2011-09-26 19:05:18 +0100
committerDave Airlie <[email protected]>2011-10-09 10:01:08 +0100
commit4e28e6f6c777841b9ffe7a7ad1e865e2595f70f9 (patch)
treed3ba72674afcbfec4f4c49ba692f695aff050766 /src/gallium/auxiliary/util/u_blitter.h
parent06415d3fab443d95c666a7c1be46c27f27000529 (diff)
u_blitter: add integer clear support
We need add a new set of fragment shader variants, along with new vertex elements for signed and unsigned clears. The new fragment shader variants are due to the integers values requiring CONSTANT interpolation. The new vertex element descriptions are for passing the clear color as an unsigned or signed integer value. Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/util/u_blitter.h')
-rw-r--r--src/gallium/auxiliary/util/u_blitter.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/u_blitter.h b/src/gallium/auxiliary/util/u_blitter.h
index d208ec38d01..798096e74df 100644
--- a/src/gallium/auxiliary/util/u_blitter.h
+++ b/src/gallium/auxiliary/util/u_blitter.h
@@ -147,6 +147,7 @@ void util_blitter_clear(struct blitter_context *blitter,
unsigned width, unsigned height,
unsigned num_cbufs,
unsigned clear_buffers,
+ enum pipe_format cbuf_format,
const union pipe_color_union *color,
double depth, unsigned stencil);