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);