for consistency with vs and fs dumpers.
Reviewed-by: Brian Paul <brianp@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
#include "lp_context.h"
#include "lp_state.h"
#include "lp_texture.h"
+#include "lp_debug.h"
#include "pipe/p_defines.h"
#include "util/u_memory.h"
goto fail;
/* debug */
- if (0)
+ if (LP_DEBUG & DEBUG_TGSI) {
+ debug_printf("llvmpipe: Create geometry shader %p:\n", (void *)state);
tgsi_dump(templ->tokens, 0);
+ }
/* copy stream output info */
state->shader = *templ;