[Mesa-dev] [PATCH 2/2] gallium: Desambiguate TGSI_OPCODE_IF.

Michel Dänzer michel at daenzer.net
Tue Apr 16 23:04:08 PDT 2013


On Son, 2013-04-14 at 09:12 +0100, jfonseca at vmware.com wrote: 
> 
> diff --git a/src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c b/src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c
> index 314c963..dfc7cbc 100644
> --- a/src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c
> +++ b/src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c
[...]
> @@ -1209,6 +1235,7 @@ void radeon_llvm_context_init(struct radeon_llvm_context * ctx)
>         bld_base->op_actions[TGSI_OPCODE_IABS].intr_name = "llvm.AMDIL.abs.";
>         bld_base->op_actions[TGSI_OPCODE_IDIV].emit = emit_idiv;
>         bld_base->op_actions[TGSI_OPCODE_IF].emit = if_emit;
> +       bld_base->op_actions[TGSI_OPCODE_IF].emit = uif_emit;

This looks like a typo, should be TGSI_OPCODE_UIF? 

-- 
Earthling Michel Dänzer           |                   http://www.amd.com
Libre software enthusiast         |          Debian, X and DRI developer


More information about the mesa-dev mailing list