~mmach/netext73/mesa-ryzen

« back to all changes in this revision

Viewing changes to src/gallium/auxiliary/gallivm/lp_bld_tgsi_action.c

  • Committer: mmach
  • Date: 2023-11-02 21:31:35 UTC
  • Revision ID: netbit73@gmail.com-20231102213135-18d4tzh7tj0uz752
2023-11-02 22:11:57

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
#include "lp_bld_logic.h"
51
51
#include "lp_bld_pack.h"
52
52
 
53
 
#include "tgsi/tgsi_exec.h"
54
 
 
55
53
/* XXX: The CPU only defaults should be repaced by generic ones.  In most
56
54
 * cases, the CPU defaults are just wrappers around a function in
57
55
 * lp_build_arit.c and these functions should be inlined here and the CPU
1629
1627
   LLVMValueRef src0 = emit_data->args[0];
1630
1628
 
1631
1629
   lp_build_log2_approx(&bld_base->base, src0,
1632
 
                        &p_exp, &p_floor_log2, &p_log2, FALSE);
 
1630
                        &p_exp, &p_floor_log2, &p_log2, false);
1633
1631
 
1634
1632
   emit_data->output[TGSI_CHAN_X] = p_floor_log2;
1635
1633