gallivm: fix left over shader vote debug
authorDave Airlie <airlied@redhat.com>
Mon, 6 Apr 2020 07:04:57 +0000 (17:04 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 15 Apr 2020 04:26:06 +0000 (14:26 +1000)
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4560>

src/gallium/auxiliary/gallivm/lp_bld_nir_soa.c

index fb8f4d9b7b6aaf2f7b807d6b308f1c08450f1464..c54df7e98a3a1d88cfb3483558955a78923f9b5a 100644 (file)
@@ -1603,7 +1603,6 @@ static void emit_vote(struct lp_build_nir_context *bld_base, LLVMValueRef src, n
       lp_build_endif(&ifthen);
       lp_build_loop_end_cond(&loop_state, lp_build_const_int32(gallivm, bld_base->uint_bld.type.length),
                             NULL, LLVMIntUGE);
-      lp_build_print_value(gallivm, "init_val is ", LLVMBuildLoad(builder, res_store, ""));
       init_val = LLVMBuildLoad(builder, res_store, "");
    } else {
       LLVMBuildStore(builder, lp_build_const_int32(gallivm, instr->intrinsic == nir_intrinsic_vote_any ? 0 : -1), res_store);