summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util/u_simple_shaders.h
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2012-07-07 23:48:37 +0200
committerMarek Olšák <maraeo@gmail.com>2012-07-12 02:08:30 +0200
commit12fd81f9e7265076a3723b09bbb49e5868bde27e (patch)
treeda864573c9a426a9f83c9ae2e66ba7676aa6a732 /src/gallium/auxiliary/util/u_simple_shaders.h
parent76db2c121c5436dc37a66d398fcaa9b26478c5ec (diff)
downloadexternal_mesa3d-12fd81f9e7265076a3723b09bbb49e5868bde27e.zip
external_mesa3d-12fd81f9e7265076a3723b09bbb49e5868bde27e.tar.gz
external_mesa3d-12fd81f9e7265076a3723b09bbb49e5868bde27e.tar.bz2
gallium/u_blitter: accelerate depth-stencil copying using shader stencil export
This fixes stencil buffer write transfers on r600g. Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'src/gallium/auxiliary/util/u_simple_shaders.h')
-rw-r--r--src/gallium/auxiliary/util/u_simple_shaders.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/u_simple_shaders.h b/src/gallium/auxiliary/util/u_simple_shaders.h
index 5f31b72..54d0efe 100644
--- a/src/gallium/auxiliary/util/u_simple_shaders.h
+++ b/src/gallium/auxiliary/util/u_simple_shaders.h
@@ -75,6 +75,12 @@ util_make_fragment_tex_shader_writedepth(struct pipe_context *pipe,
extern void *
+util_make_fragment_tex_shader_writedepthstencil(struct pipe_context *pipe,
+ unsigned tex_target,
+ unsigned interp_mode);
+
+
+extern void *
util_make_fragment_passthrough_shader(struct pipe_context *pipe);