Mesa (master): ilo: add support for TEX2/TXB2/TXL2 in fs
Chia-I Wu
olv at kemper.freedesktop.org
Fri Jun 7 07:38:43 UTC 2013
Module: Mesa
Branch: master
Commit: cde49c71a31dc14badeb107ec6ae4e232f0e0ebf
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cde49c71a31dc14badeb107ec6ae4e232f0e0ebf
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Fri Jun 7 14:18:59 2013 +0800
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 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 f697d1d..045d279 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
More information about the mesa-commit
mailing list