mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-15 16:28:04 +02:00
nir: Allow bias for nir_texop_sparse_residency_intel
Fixes validation errors in tests like: dEQP-VK.glsl.texture_functions.textureoffset.clamp_to_edge.sparse_isampler2d_bias_fragment Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41535>
This commit is contained in:
parent
e201d4fa77
commit
9f56e4679e
1 changed files with 2 additions and 1 deletions
|
|
@ -1030,7 +1030,8 @@ validate_tex_instr(nir_tex_instr *instr, validate_state *state)
|
|||
case nir_tex_src_bias:
|
||||
validate_assert(state, instr->op == nir_texop_txb ||
|
||||
instr->op == nir_texop_tg4 ||
|
||||
instr->op == nir_texop_lod);
|
||||
instr->op == nir_texop_lod ||
|
||||
instr->op == nir_texop_sparse_residency_intel);
|
||||
break;
|
||||
|
||||
case nir_tex_src_lod:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue