nir: Strengthen assertion that 'out' is nonnull.
authorMatt Turner <mattst88@gmail.com>
Tue, 24 May 2016 19:24:56 +0000 (12:24 -0700)
committerMatt Turner <mattst88@gmail.com>
Wed, 25 May 2016 19:44:34 +0000 (12:44 -0700)
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
src/compiler/nir/nir_lower_clamp_color_outputs.c

index 68bfbed81aa9025064baa4317950e61b63d09dbd..ab211a4296c87b46510db226a36d4ac0eee281fb 100644 (file)
@@ -79,7 +79,7 @@ lower_intrinsic(lower_state *state, nir_intrinsic_instr *intr)
             break;
          }
       }
-      assert(out);
+      assume(out);
       break;
    default:
       return;