blorp: Implement blorp hooks to emit breakpoint
Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24308>
This commit is contained in:
@@ -489,3 +489,17 @@ genX(init_blorp)(struct iris_context *ice)
|
||||
ice->blorp.upload_shader = iris_blorp_upload_shader;
|
||||
ice->blorp.exec = iris_blorp_exec;
|
||||
}
|
||||
|
||||
static void
|
||||
blorp_emit_breakpoint_pre_draw(struct blorp_batch *blorp_batch)
|
||||
{
|
||||
struct iris_batch *batch = blorp_batch->driver_batch;
|
||||
genX(maybe_emit_breakpoint)(batch, true);
|
||||
}
|
||||
|
||||
static void
|
||||
blorp_emit_breakpoint_post_draw(struct blorp_batch *blorp_batch)
|
||||
{
|
||||
struct iris_batch *batch = blorp_batch->driver_batch;
|
||||
genX(maybe_emit_breakpoint)(batch, false);
|
||||
}
|
||||
|
Reference in New Issue
Block a user