summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2013-06-07 14:18:59 +0800
committerChia-I Wu <[email protected]>2013-06-07 15:37:35 +0800
commitcde49c71a31dc14badeb107ec6ae4e232f0e0ebf (patch)
tree2df6df1564413cc5cb74516e68d9fc5f48aeb898 /src/gallium/drivers
parentf8df73f41c5f4e461dc7de8cd3a7b32b04dfbf2e (diff)
ilo: add support for TEX2/TXB2/TXL2 in fs
They were already supported, just being rejected in the TGSI translator.
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/ilo/shader/toy_tgsi.c6
1 files 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