diff options
author | Roland Scheidegger <[email protected]> | 2013-06-13 00:40:24 +0200 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2013-06-13 00:41:43 +0200 |
commit | 957c040eb86495da2a693c831e13342a81ac1a2e (patch) | |
tree | 10a5ffa3b44f9b090ce9fb4f7186f35355690591 /src/gallium | |
parent | b09a75407886fba476bb79d65b408ffc08876a75 (diff) |
gallivm: (trivial) remove duplicated code block (including comment)
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c index 066f64aaace..0bbc408bd46 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c +++ b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c @@ -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; |