mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 08:50:13 +01:00
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:
parent
a2748d4796
commit
6d9f951220
1 changed files with 2 additions and 1 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue