mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-21 15:50:11 +01:00
nir: Add more opcodes to nir_tex_instr_is_query()
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19480>
This commit is contained in:
parent
7d8b90a470
commit
30f3fec380
1 changed files with 3 additions and 0 deletions
|
|
@ -3265,6 +3265,9 @@ nir_tex_instr_is_query(const nir_tex_instr *instr)
|
|||
case nir_texop_txf_ms_fb:
|
||||
case nir_texop_txf_ms_mcs_intel:
|
||||
case nir_texop_tg4:
|
||||
case nir_texop_samples_identical:
|
||||
case nir_texop_fragment_mask_fetch_amd:
|
||||
case nir_texop_fragment_fetch_amd:
|
||||
return false;
|
||||
default:
|
||||
unreachable("Invalid texture opcode");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue