nv50/ir: txg not available on nvaa/nvac
authorIlia Mirkin <imirkin@alum.mit.edu>
Sun, 19 Jan 2014 03:19:16 +0000 (22:19 -0500)
committerMaarten Lankhorst <maarten.lankhorst@canonical.com>
Mon, 27 Jan 2014 15:40:42 +0000 (16:40 +0100)
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/codegen/nv50_ir_target_nv50.cpp

index ade9be0300cce44d151c02d922f5dd68c40efc31..618cc694c18e801d3cd406e29f7654d8cb707399 100644 (file)
@@ -380,7 +380,7 @@ TargetNV50::isOpSupported(operation op, DataType ty) const
    case OP_PRERET:
       return chipset >= 0xa0;
    case OP_TXG:
-      return chipset >= 0xa3;
+      return chipset >= 0xa3 && chipset != 0xaa && chipset != 0xac;
    case OP_POW:
    case OP_SQRT:
    case OP_DIV: