nv50/ir: disallow predicates on emit/restart ops
authorIlia Mirkin <imirkin@alum.mit.edu>
Mon, 25 Nov 2013 08:19:06 +0000 (03:19 -0500)
committerMaarten Lankhorst <maarten.lankhorst@canonical.com>
Mon, 27 Jan 2014 15:40:42 +0000 (16:40 +0100)
src/gallium/drivers/nouveau/codegen/nv50_ir_target_nv50.cpp

index 618cc694c18e801d3cd406e29f7654d8cb707399..c27d4532e5aa0c8527e1e35a82a966a811599399 100644 (file)
@@ -130,7 +130,8 @@ void TargetNV50::initOpInfo()
    };
    static const operation noPredList[] =
    {
-      OP_CALL, OP_PREBREAK, OP_PRERET, OP_QUADON, OP_QUADPOP, OP_JOINAT
+      OP_CALL, OP_PREBREAK, OP_PRERET, OP_QUADON, OP_QUADPOP, OP_JOINAT,
+      OP_EMIT, OP_RESTART
    };
 
    for (i = 0; i < DATA_FILE_COUNT; ++i)