summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-08-19 21:41:57 +0200
committerMarek Olšák <[email protected]>2017-08-22 13:29:47 +0200
commit86e6f7a73bdbced24e10fb80fdcba591e0568120 (patch)
tree8cb2a014a944585bf49e6af66075500c927cca49 /src/mesa
parent0bb367830a613da30991ca60b4dccdda61302038 (diff)
gallium: remove TGSI opcode DP2A
use DP3 instead. Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/state_tracker/st_atifs_to_tgsi.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_atifs_to_tgsi.c b/src/mesa/state_tracker/st_atifs_to_tgsi.c
index 13e013cebc7..2a171b5a847 100644
--- a/src/mesa/state_tracker/st_atifs_to_tgsi.c
+++ b/src/mesa/state_tracker/st_atifs_to_tgsi.c
@@ -228,7 +228,6 @@ emit_special_inst(struct st_translate *t, const struct instruction_desc *desc,
src[2] = args[0];
ureg_insn(t->ureg, TGSI_OPCODE_CMP, dst, 1, src, 3, 0);
} else if (!strcmp(desc->name, "DOT2_ADD")) {
- /* note: DP2A is not implemented in most pipe drivers */
tmp[0] = get_temp(t, MAX_NUM_FRAGMENT_REGISTERS_ATI); /* re-purpose a1 */
src[0] = args[0];
src[1] = args[1];