gallivm: (trivial) remove duplicated code block (including comment)

This commit is contained in:
Roland Scheidegger 2013-06-13 00:40:24 +02:00
parent b09a754078
commit 957c040eb8
1 changed files with 0 additions and 7 deletions

View File

@ -1784,13 +1784,6 @@ emit_sample(struct lp_build_tgsi_soa_context *bld,
return;
}
/*
* unlike old-style tex opcodes the texture/sampler indices
* always come from src1 and src2 respectively.
*/
texture_unit = inst->Src[1].Register.Index;
sampler_unit = inst->Src[2].Register.Index;
if (modifier == LP_BLD_TEX_MODIFIER_LOD_BIAS) {
lod_bias = lp_build_emit_fetch( &bld->bld_base, inst, 3, 0 );
explicit_lod = NULL;