pan/mdg: Handle nir_tex_src_ms_index

Goes in .z for a txf_ms coordinate, same as a shadow comparator so we
reuse the impl.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5782>
This commit is contained in:
Alyssa Rosenzweig 2020-06-30 15:31:39 -04:00 committed by Marge Bot
parent a2748d4796
commit 6d9f951220

View file

@ -2147,7 +2147,8 @@ emit_texop_native(compiler_context *ctx, nir_tex_instr *instr,
break;
};
case nir_tex_src_comparator: {
case nir_tex_src_comparator:
case nir_tex_src_ms_index: {
unsigned comp = COMPONENT_Z;
/* mov coord_temp.foo, coords */