diff options
author | Zack Rusin <[email protected]> | 2014-03-26 13:36:34 -0400 |
---|---|---|
committer | Zack Rusin <[email protected]> | 2014-03-26 15:58:59 -0400 |
commit | b1909b260f6c3855c8214319c602fc7adea7faf9 (patch) | |
tree | 3029d7063dd0310336cc60658d317ad1174f2c35 /src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c | |
parent | a3c0fa2d228aeec9d9b3de55a4f086c5af5bdecb (diff) |
draw/llvm: improve debugging output a bit
it's useful to know what the llvmbuildstore arguments are going to
be before executing it because it can crash and make sure to
print out the inputs only if we're not generating a gs because
it fetches inputs differently.
Signed-off-by: Zack Rusin <[email protected]>
Reviewed-by: Jose Fonseca <[email protected]>
Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c')
-rw-r--r-- | src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c index d2cb0a0975f..8791168a48b 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c +++ b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c @@ -3569,7 +3569,8 @@ static void emit_prologue(struct lp_build_tgsi_context * bld_base) if (DEBUG_EXECUTION) { lp_build_printf(gallivm, "\n"); emit_dump_file(bld, TGSI_FILE_CONSTANT); - emit_dump_file(bld, TGSI_FILE_INPUT); + if (!bld->gs_iface) + emit_dump_file(bld, TGSI_FILE_INPUT); } } |