OSDN Git Service

draw: (trivial) don't print the shader twice with GALLIVM_DEBUG=tgsi (or ir)
authorRoland Scheidegger <sroland@vmware.com>
Sat, 4 Apr 2015 14:49:08 +0000 (16:49 +0200)
committerRoland Scheidegger <sroland@vmware.com>
Wed, 8 Apr 2015 23:32:30 +0000 (01:32 +0200)
commita873b79fa5e3138196a3c1785f2a65308fa78286
treedb44c56c61f0ce79ba08ae72a3945dc17ebb271d
parent586536a4e1c34725b3b38c3425db569fac0c91e9
draw: (trivial) don't print the shader twice with GALLIVM_DEBUG=tgsi (or ir)

Neither the shader nor the key change when doing elts or linear variant, so
this was just annoying (probably mildly useful at some point when we printed
the IR per function too).

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/draw/draw_llvm.c