Module: Mesa Branch: main Commit: bae7538a020b354c2954461bf5e4788aa1ff34bb URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bae7538a020b354c2954461bf5e4788aa1ff34bb
Author: Vitaliy Triang3l Kuzmin <trian...@yandex.ru> Date: Mon Nov 6 16:30:15 2023 +0300 r600/sfn: Remove unused sampler reference in emit_tex_lod Signed-off-by: Vitaliy Triang3l Kuzmin <trian...@yandex.ru> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26068> --- src/gallium/drivers/r600/sfn/sfn_instr_tex.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/gallium/drivers/r600/sfn/sfn_instr_tex.cpp b/src/gallium/drivers/r600/sfn/sfn_instr_tex.cpp index 1310f835315..3d2334d7163 100644 --- a/src/gallium/drivers/r600/sfn/sfn_instr_tex.cpp +++ b/src/gallium/drivers/r600/sfn/sfn_instr_tex.cpp @@ -895,8 +895,6 @@ bool TexInstr::emit_tex_lod(nir_tex_instr *tex, Inputs& src, Shader& shader) { auto& vf = shader.value_factory(); - auto sampler = get_sampler_id(tex->sampler_index, src.sampler_deref); - assert(!sampler.indirect && "Indirect sampler selection not yet supported"); auto dst = shader.value_factory().dest_vec4(tex->def, pin_group);