intel/ds: track predication of blorp operations

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Ivan Briano <ivan.briano@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23523>
This commit is contained in:
Lionel Landwerlin
2023-05-31 11:23:45 +03:00
committed by Marge Bot
parent 97efa57531
commit f92bff9198
4 changed files with 7 additions and 3 deletions

View File

@@ -492,7 +492,8 @@ blorp_measure_end(struct blorp_batch *blorp_batch,
params->num_samples,
params->shader_pipeline,
params->dst.view.format,
params->src.view.format);
params->src.view.format,
(blorp_batch->flags & BLORP_BATCH_PREDICATE_ENABLE));
}
void

View File

@@ -116,6 +116,7 @@ def define_tracepoints(args):
Arg(type='enum blorp_shader_pipeline', name='blorp_pipe', var='shader_pipe', c_format='%s', to_prim_type='blorp_shader_pipeline_to_name({})'),
Arg(type='enum isl_format', name='dst_fmt', var='dst_fmt', c_format='%s', to_prim_type='isl_format_get_short_name({})'),
Arg(type='enum isl_format', name='src_fmt', var='src_fmt', c_format='%s', to_prim_type='isl_format_get_short_name({})'),
Arg(type='uint8_t', name='predicated', var='predicated', c_format='%hhu'),
])
# vkCmdWriteBufferMarker*, only for Anv

View File

@@ -57,7 +57,8 @@ static void blorp_measure_end(struct blorp_batch *_batch,
params->num_samples,
params->shader_pipeline,
params->dst.view.format,
params->src.view.format);
params->src.view.format,
(_batch->flags & BLORP_BATCH_PREDICATE_ENABLE));
}
static void *

View File

@@ -57,7 +57,8 @@ static void blorp_measure_end(struct blorp_batch *_batch,
params->num_samples,
params->shader_pipeline,
params->dst.view.format,
params->src.view.format);
params->src.view.format,
(_batch->flags & BLORP_BATCH_PREDICATE_ENABLE));
}
static void *