Mesa (main): nir_to_tgsi: Include txf_ms's sample index.
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Oct 6 04:34:01 UTC 2021
Module: Mesa
Branch: main
Commit: 96cf3b3595ed071007429da786614451bf9c01b7
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=96cf3b3595ed071007429da786614451bf9c01b7
Author: Emma Anholt <emma at anholt.net>
Date: Wed Sep 8 15:42:04 2021 -0700
nir_to_tgsi: Include txf_ms's sample index.
Acked-by: Gert Wollny <gert.wollny at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12800>
---
src/gallium/auxiliary/nir/nir_to_tgsi.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/gallium/auxiliary/nir/nir_to_tgsi.c b/src/gallium/auxiliary/nir/nir_to_tgsi.c
index aaa5cd43d4d..e71bddfa3fb 100644
--- a/src/gallium/auxiliary/nir/nir_to_tgsi.c
+++ b/src/gallium/auxiliary/nir/nir_to_tgsi.c
@@ -2751,6 +2751,7 @@ nir_to_tgsi_lower_tex_instr(nir_builder *b, nir_instr *instr, void *data)
/* XXX: LZ */
nir_to_tgsi_lower_tex_instr_arg(b, tex, nir_tex_src_lod, &s);
nir_to_tgsi_lower_tex_instr_arg(b, tex, nir_tex_src_projector, &s);
+ nir_to_tgsi_lower_tex_instr_arg(b, tex, nir_tex_src_ms_index, &s);
/* No need to pack undefs in unused channels of the tex instr */
while (!s.channels[s.i - 1])
More information about the mesa-commit
mailing list