mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 20:38:06 +02:00
prog_to_nir: Remove from op_trans[] opcodes handled in the switch.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
5b226a1242
commit
576f7241b6
1 changed files with 7 additions and 7 deletions
|
|
@ -697,7 +697,7 @@ static const nir_op op_trans[MAX_OPCODE] = {
|
|||
[OPCODE_ADD] = nir_op_fadd,
|
||||
[OPCODE_ARL] = 0,
|
||||
[OPCODE_CMP] = 0,
|
||||
[OPCODE_COS] = nir_op_fcos,
|
||||
[OPCODE_COS] = 0,
|
||||
[OPCODE_DDX] = nir_op_fddx,
|
||||
[OPCODE_DDY] = nir_op_fddy,
|
||||
[OPCODE_DP2] = 0,
|
||||
|
|
@ -706,11 +706,11 @@ static const nir_op op_trans[MAX_OPCODE] = {
|
|||
[OPCODE_DPH] = 0,
|
||||
[OPCODE_DST] = 0,
|
||||
[OPCODE_END] = 0,
|
||||
[OPCODE_EX2] = nir_op_fexp2,
|
||||
[OPCODE_EX2] = 0,
|
||||
[OPCODE_EXP] = 0,
|
||||
[OPCODE_FLR] = nir_op_ffloor,
|
||||
[OPCODE_FRC] = nir_op_ffract,
|
||||
[OPCODE_LG2] = nir_op_flog2,
|
||||
[OPCODE_LG2] = 0,
|
||||
[OPCODE_LIT] = 0,
|
||||
[OPCODE_LOG] = 0,
|
||||
[OPCODE_LRP] = 0,
|
||||
|
|
@ -719,15 +719,15 @@ static const nir_op op_trans[MAX_OPCODE] = {
|
|||
[OPCODE_MIN] = nir_op_fmin,
|
||||
[OPCODE_MOV] = nir_op_fmov,
|
||||
[OPCODE_MUL] = nir_op_fmul,
|
||||
[OPCODE_POW] = nir_op_fpow,
|
||||
[OPCODE_RCP] = nir_op_frcp,
|
||||
[OPCODE_POW] = 0,
|
||||
[OPCODE_RCP] = 0,
|
||||
|
||||
[OPCODE_RSQ] = nir_op_frsq,
|
||||
[OPCODE_RSQ] = 0,
|
||||
[OPCODE_SCS] = 0,
|
||||
[OPCODE_SEQ] = 0,
|
||||
[OPCODE_SGE] = 0,
|
||||
[OPCODE_SGT] = 0,
|
||||
[OPCODE_SIN] = nir_op_fsin,
|
||||
[OPCODE_SIN] = 0,
|
||||
[OPCODE_SLE] = 0,
|
||||
[OPCODE_SLT] = 0,
|
||||
[OPCODE_SNE] = 0,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue