diff options
author | Marek Olšák <[email protected]> | 2013-12-06 23:55:05 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2013-12-14 17:42:08 +0100 |
commit | fc21098a95c8f7d0aadbfcc90cb2e9e78d1e2ef3 (patch) | |
tree | f905aec899cb3b98f81bfcfdffcb4587d6913264 /src/gallium/auxiliary/util/u_simple_shaders.h | |
parent | f0ed082babe29eee502ec81302dae5fc15347e3f (diff) |
gallium/u_blitter: implement shader-based MSAA resolve
We need this for integer formats and upside-down blits, which Radeons don't
support for MSAA resolving.
It can be used by calling util_blitter_blit.
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/util/u_simple_shaders.h')
-rw-r--r-- | src/gallium/auxiliary/util/u_simple_shaders.h | 6 |
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 9be76e9bf12..ea9208c2c7a 100644 --- a/src/gallium/auxiliary/util/u_simple_shaders.h +++ b/src/gallium/auxiliary/util/u_simple_shaders.h @@ -124,6 +124,12 @@ void * util_make_fs_blit_msaa_stencil(struct pipe_context *pipe, unsigned tgsi_tex); + +void * +util_make_fs_msaa_resolve(struct pipe_context *pipe, + unsigned tgsi_tex, unsigned nr_samples, + boolean is_uint, boolean is_sint); + #ifdef __cplusplus } #endif |