projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
381e9fe
)
u_blitter: fix stencil blitting
author
Dave Airlie
<airlied@redhat.com>
Fri, 10 Apr 2020 03:27:09 +0000
(13:27 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Wed, 15 Apr 2020 04:26:33 +0000
(14:26 +1000)
Fixes: KHR-GL45.packed_depth_stencil.blit.depth32f_stencil8
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4560>
src/gallium/auxiliary/util/u_simple_shaders.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/util/u_simple_shaders.c
b/src/gallium/auxiliary/util/u_simple_shaders.c
index 983307ead731956bc29a397120f0b49c86769c98..5faa8942be3860fe87c4a81d7b4a1eda9cd4321d 100644
(file)
--- a/
src/gallium/auxiliary/util/u_simple_shaders.c
+++ b/
src/gallium/auxiliary/util/u_simple_shaders.c
@@
-417,7
+417,7
@@
util_make_fs_blit_zs(struct pipe_context *pipe, unsigned zs_mask,
if (zs_mask & PIPE_MASK_S) {
stencil_sampler = ureg_DECL_sampler(ureg, zs_mask & PIPE_MASK_Z ? 1 : 0);
- ureg_DECL_sampler_view(ureg, 0, tex_target,
+ ureg_DECL_sampler_view(ureg,
zs_mask & PIPE_MASK_Z ? 1 :
0, tex_target,
TGSI_RETURN_TYPE_UINT,
TGSI_RETURN_TYPE_UINT,
TGSI_RETURN_TYPE_UINT,