summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2015-02-03 15:53:35 -0500
committerRob Clark <[email protected]>2015-03-08 17:42:43 -0400
commit3ecc834e752a452bfc445a46ea14d06dc24d7b9b (patch)
tree2f21e9debfc7af747a72656fa0fbdada75c2a1f6 /src/gallium/drivers/freedreno
parent0f797f7b7dd84f0bbb6efc68f230ce99eea00488 (diff)
freedreno/ir3: couple tweaks for cmdline compiler
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno')
-rw-r--r--src/gallium/drivers/freedreno/ir3/ir3_cmdline.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/ir3/ir3_cmdline.c b/src/gallium/drivers/freedreno/ir3/ir3_cmdline.c
index 4b60802f8c3..afad792abe6 100644
--- a/src/gallium/drivers/freedreno/ir3/ir3_cmdline.c
+++ b/src/gallium/drivers/freedreno/ir3/ir3_cmdline.c
@@ -210,7 +210,7 @@ read_file(const char *filename, void **ptr, size_t *size)
static void reset_variant(struct ir3_shader_variant *v, const char *msg)
{
- debug_error(msg);
+ printf("; %s\n", msg);
v->inputs_count = 0;
v->outputs_count = 0;
v->total_in = 0;
@@ -336,6 +336,9 @@ int main(int argc, char **argv)
return ret;
}
+ if (fd_mesa_debug & FD_DBG_OPTMSGS)
+ debug_printf("%s\n", (char *)ptr);
+
if (!tgsi_text_translate(ptr, toks, Elements(toks)))
errx(1, "could not parse `%s'", filename);