radv: fix warning since using common gs emit code
authorDave Airlie <airlied@redhat.com>
Tue, 14 Feb 2017 20:00:29 +0000 (20:00 +0000)
committerDave Airlie <airlied@redhat.com>
Tue, 14 Feb 2017 20:02:13 +0000 (20:02 +0000)
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/common/ac_nir_to_llvm.c

index 016c0109f4fa5f3b1e3fdfc9319ccfe3b4e7e614..883656d5cecd7cf313f4e5c51b6b7ed4b29e2b09 100644 (file)
@@ -3003,7 +3003,6 @@ visit_emit_vertex(struct nir_to_llvm_context *ctx,
 {
        LLVMValueRef gs_next_vertex;
        LLVMValueRef can_emit, kill;
-       LLVMValueRef args[2];
        int idx;
 
        assert(instr->const_index[0] == 0);