freedreno: a2xx: Implement DP2 instruction
authorWladimir J. van der Laan <laanwj@gmail.com>
Tue, 8 Aug 2017 15:06:21 +0000 (15:06 +0000)
committerWladimir J. van der Laan <laanwj@gmail.com>
Sat, 31 Mar 2018 06:17:59 +0000 (06:17 +0000)
commite8e3aa68d666d2cad47ef055a1d7b16df4c958d7
treef2e9e2a0585e862c4f1edf08af6dc712bfb94262
parent79d6b194f252a2ea029244b831129cfb6cb6d153
freedreno: a2xx: Implement DP2 instruction

Use DOT2ADDv instruction with 0.0f constant add.

Signed-off-by: Wladimir J. van der Laan <laanwj@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/a2xx/fd2_compiler.c