mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-20 06:08:30 +02:00
nir: Allow nir_texop_tg4 in implicit derivative
This allow us to invoke the quad helper.
v2: (Georg)
- Add check for is_gather_implicit_lod
Fixes: 48158636bf ("nir: add is_gather_implicit_lod")
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27447>
This commit is contained in:
parent
6f0ab5e4d5
commit
30ead72e80
1 changed files with 2 additions and 0 deletions
|
|
@ -3145,6 +3145,8 @@ nir_tex_instr_has_implicit_derivative(const nir_tex_instr *instr)
|
|||
case nir_texop_txb:
|
||||
case nir_texop_lod:
|
||||
return true;
|
||||
case nir_texop_tg4:
|
||||
return instr->is_gather_implicit_lod;
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue