Message ID | 1308532451-7447-7-git-send-email-ben@bwidawsk.net (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/src/mesa/drivers/dri/i965/brw_wm.c b/src/mesa/drivers/dri/i965/brw_wm.c index 5ed39df..651e217 100644 --- a/src/mesa/drivers/dri/i965/brw_wm.c +++ b/src/mesa/drivers/dri/i965/brw_wm.c @@ -229,6 +229,9 @@ bool do_wm_prog(struct brw_context *brw, brw_init_compile(brw, &c->func, c); + if (brw->wm.debugging) + brw_set_breakpoint(&c->func); + if (prog && prog->FragmentProgram) { if (!brw_wm_fs_emit(brw, c, prog)) return false;
Add the breakpoint flag for all instructions when doing wm shader debugging. Signed-off-by: Ben Widawsky <ben@bwidawsk.net> --- src/mesa/drivers/dri/i965/brw_wm.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)