From cde49c71a31dc14badeb107ec6ae4e232f0e0ebf Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Fri, 7 Jun 2013 14:18:59 +0800 Subject: [PATCH] ilo: add support for TEX2/TXB2/TXL2 in fs They were already supported, just being rejected in the TGSI translator. --- src/gallium/drivers/ilo/shader/toy_tgsi.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gallium/drivers/ilo/shader/toy_tgsi.c b/src/gallium/drivers/ilo/shader/toy_tgsi.c index f697d1d2ae5..045d279ef8c 100644 --- a/src/gallium/drivers/ilo/shader/toy_tgsi.c +++ b/src/gallium/drivers/ilo/shader/toy_tgsi.c @@ -1619,9 +1619,9 @@ static const toy_tgsi_translate soa_translate_table[TGSI_OPCODE_LAST] = { [TGSI_OPCODE_ATOMUMAX] = soa_unsupported, [TGSI_OPCODE_ATOMIMIN] = soa_unsupported, [TGSI_OPCODE_ATOMIMAX] = soa_unsupported, - [TGSI_OPCODE_TEX2] = soa_unsupported, - [TGSI_OPCODE_TXB2] = soa_unsupported, - [TGSI_OPCODE_TXL2] = soa_unsupported, + [TGSI_OPCODE_TEX2] = soa_passthrough, + [TGSI_OPCODE_TXB2] = soa_passthrough, + [TGSI_OPCODE_TXL2] = soa_passthrough, }; static bool -- 2.30.2