freedreno: Small indent fix
Signed-off-by: Rob Clark <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10444>
This commit is contained in:
@@ -91,6 +91,8 @@ ForEachMacros:
|
||||
- hash_table_foreach
|
||||
- set_foreach
|
||||
- foreach_line_in_section
|
||||
- perf_time
|
||||
- perf_time_ctx
|
||||
|
||||
IncludeBlocks: Preserve
|
||||
IncludeCategories:
|
||||
|
||||
@@ -182,9 +182,8 @@ __fd_resource_wait(struct fd_context *ctx, struct fd_resource *rsc, unsigned op,
|
||||
|
||||
int ret;
|
||||
|
||||
perf_time_ctx(ctx, 10000, "%s: a busy \"%" PRSC_FMT "\" BO stalled", func,
|
||||
PRSC_ARGS(&rsc->b.b))
|
||||
{
|
||||
perf_time_ctx (ctx, 10000, "%s: a busy \"%" PRSC_FMT "\" BO stalled", func,
|
||||
PRSC_ARGS(&rsc->b.b)) {
|
||||
ret = fd_bo_cpu_prep(rsc->bo, ctx->pipe, op);
|
||||
}
|
||||
|
||||
|
||||
@@ -415,10 +415,10 @@ ir3_get_shader(struct ir3_shader_state *hwcso)
|
||||
return NULL;
|
||||
|
||||
struct ir3_shader *shader = hwcso->shader;
|
||||
perf_time(1000, "waited for %s:%s:%s variants",
|
||||
_mesa_shader_stage_to_abbrev(shader->type), shader->nir->info.name,
|
||||
shader->nir->info.label)
|
||||
{
|
||||
perf_time (1000, "waited for %s:%s:%s variants",
|
||||
_mesa_shader_stage_to_abbrev(shader->type),
|
||||
shader->nir->info.name,
|
||||
shader->nir->info.label) {
|
||||
/* wait for initial variants to compile: */
|
||||
util_queue_fence_wait(&hwcso->ready);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user