etnaviv: Add support for DP2 instruction
authorWladimir J. van der Laan <laanwj@gmail.com>
Sun, 1 Oct 2017 09:21:20 +0000 (11:21 +0200)
committerChristian Gmeiner <christian.gmeiner@gmail.com>
Tue, 3 Oct 2017 17:49:47 +0000 (19:49 +0200)
commitec254f4bfa65cbe27cff4422898afa8fb32ef97d
tree6c848ce897234df27af80c6c62e006b0eba2f9ea
parent80f608b5304396fdfc16cd318f332d93f188c381
etnaviv: Add support for DP2 instruction

A two-component dot product instruction is supported with HALTI2, use it
on hardware that supports it.

Signed-off-by: Wladimir J. van der Laan <laanwj@gmail.com>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
src/gallium/drivers/etnaviv/etnaviv_compiler.c
src/gallium/drivers/etnaviv/etnaviv_disasm.c
src/gallium/drivers/etnaviv/etnaviv_internal.h
src/gallium/drivers/etnaviv/etnaviv_screen.c