projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07c71d6
)
gallium/u_blitter: initialize sample mask in resolve
author
Marek Olšák
<maraeo@gmail.com>
Sat, 18 Aug 2012 18:39:35 +0000
(20:39 +0200)
committer
Marek Olšák
<maraeo@gmail.com>
Mon, 27 Aug 2012 02:30:59 +0000
(
04:30
+0200)
Reviewed-by: Jerome Glisse <jglisse@redhat.com>
src/gallium/auxiliary/util/u_blitter.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/util/u_blitter.c
b/src/gallium/auxiliary/util/u_blitter.c
index a95e1b5356ea26c8ce431f9452167ccc62777e7a..25c7119b9f2158add686d7db151a7d053f06f0e8 100644
(file)
--- a/
src/gallium/auxiliary/util/u_blitter.c
+++ b/
src/gallium/auxiliary/util/u_blitter.c
@@
-1515,6
+1515,7
@@
void util_blitter_custom_resolve_color(struct blitter_context *blitter,
pipe->bind_depth_stencil_alpha_state(pipe, ctx->dsa_keep_depth_stencil);
pipe->bind_vertex_elements_state(pipe, ctx->velem_state);
pipe->bind_fs_state(pipe, blitter_get_fs_col(ctx, 1, FALSE));
+ pipe->set_sample_mask(pipe, (1ull << MAX2(1, src->nr_samples)) - 1);
memset(&surf_tmpl, 0, sizeof(surf_tmpl));
surf_tmpl.format = dst->format;