projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b094b38
)
freedreno/ir3: implement fdd{x,y}_coarse opcodes
author
Jonathan Marek
<jonathan@marek.ca>
Mon, 7 Oct 2019 01:00:11 +0000
(21:00 -0400)
committer
Jonathan Marek
<jonathan@marek.ca>
Mon, 14 Oct 2019 21:48:22 +0000
(17:48 -0400)
Same as regular fddx/fddy.
Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Rob Clark <robclark@gmail.com>
src/freedreno/ir3/ir3_compiler_nir.c
patch
|
blob
|
history
diff --git
a/src/freedreno/ir3/ir3_compiler_nir.c
b/src/freedreno/ir3/ir3_compiler_nir.c
index 7f000cdc385d958bf817053ce960bc98cb58c0f0..7061964be2095d3a1e674f14af196544698f20b0 100644
(file)
--- a/
src/freedreno/ir3/ir3_compiler_nir.c
+++ b/
src/freedreno/ir3/ir3_compiler_nir.c
@@
-455,10
+455,12
@@
emit_alu(struct ir3_context *ctx, nir_alu_instr *alu)
dst[0] = ir3_MAD_F32(b, src[0], 0, src[1], 0, src[2], 0);
break;
case nir_op_fddx:
+ case nir_op_fddx_coarse:
dst[0] = ir3_DSX(b, src[0], 0);
dst[0]->cat5.type = TYPE_F32;
break;
case nir_op_fddy:
+ case nir_op_fddy_coarse:
dst[0] = ir3_DSY(b, src[0], 0);
dst[0]->cat5.type = TYPE_F32;
break;