aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/a4xx/fd4_emit.h
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2016-04-24 16:59:16 -0400
committerRob Clark <[email protected]>2016-04-30 14:56:20 -0400
commit663c0e5155e9916b10163c102f0ece4eda5c3154 (patch)
tree6676d755d5c329c427b15363b13af7badc6c0ad5 /src/gallium/drivers/freedreno/a4xx/fd4_emit.h
parent2578e3edcb83511d46427591343369b1bdfbcaf3 (diff)
freedreno/ir3: use pipe_debug_callback for shader-db traces
For multi-threaded shader-db support. Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/a4xx/fd4_emit.h')
-rw-r--r--src/gallium/drivers/freedreno/a4xx/fd4_emit.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/freedreno/a4xx/fd4_emit.h b/src/gallium/drivers/freedreno/a4xx/fd4_emit.h
index 41df3219116..a39697dafb4 100644
--- a/src/gallium/drivers/freedreno/a4xx/fd4_emit.h
+++ b/src/gallium/drivers/freedreno/a4xx/fd4_emit.h
@@ -76,7 +76,7 @@ fd4_emit_get_vp(struct fd4_emit *emit)
{
if (!emit->vp) {
struct fd4_shader_stateobj *so = emit->prog->vp;
- emit->vp = ir3_shader_variant(so->shader, emit->key);
+ emit->vp = ir3_shader_variant(so->shader, emit->key, emit->debug);
}
return emit->vp;
}
@@ -91,7 +91,7 @@ fd4_emit_get_fp(struct fd4_emit *emit)
emit->fp = &binning_fp;
} else {
struct fd4_shader_stateobj *so = emit->prog->fp;
- emit->fp = ir3_shader_variant(so->shader, emit->key);
+ emit->fp = ir3_shader_variant(so->shader, emit->key, emit->debug);
}
}
return emit->fp;