diff options
author | Edward O'Callaghan <[email protected]> | 2016-01-08 03:44:46 +1100 |
---|---|---|
committer | Nicolai Hähnle <[email protected]> | 2016-01-08 12:18:36 -0500 |
commit | cb513485a0afba543a2bedb2ecd4d9ea979b5f9a (patch) | |
tree | bae9d579ad41dec477f4dc5fd4f9ffa0c438b6dc /src/gallium/drivers/r600/r600_llvm.c | |
parent | b42254eff3d982c6cf649e37029c928290d781fd (diff) |
radeon, si: Use TGSI chan name defines in lp_build_emit_fetch() calls
Signed-off-by: Edward O'Callaghan <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_llvm.c')
-rw-r--r-- | src/gallium/drivers/r600/r600_llvm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_llvm.c b/src/gallium/drivers/r600/r600_llvm.c index 7f436067551..8b91372f3ae 100644 --- a/src/gallium/drivers/r600/r600_llvm.c +++ b/src/gallium/drivers/r600/r600_llvm.c @@ -726,7 +726,7 @@ static void tex_fetch_args( * That operand should be passed as a float value in the args array * right after the coord vector. After packing it's not used anymore, * that's why arg_count is not increased */ - coords[4] = lp_build_emit_fetch(bld_base, inst, 1, 0); + coords[4] = lp_build_emit_fetch(bld_base, inst, 1, TGSI_CHAN_X); } if ((inst->Texture.Texture == TGSI_TEXTURE_CUBE || |