mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-03 22:58:31 +02:00
vc4: Tell shader-db how big our UBOs are, if present.
I had regressed them for a while with the NIR work.
This commit is contained in:
parent
a3a07d46d1
commit
486dcfbbd9
1 changed files with 6 additions and 0 deletions
|
|
@ -2280,6 +2280,12 @@ vc4_get_compiled_shader(struct vc4_context *vc4, enum qstage stage,
|
|||
j++;
|
||||
}
|
||||
}
|
||||
if (shader->ubo_size) {
|
||||
fprintf(stderr, "SHADER-DB: %s prog %d/%d: %d UBO uniforms\n",
|
||||
qir_get_stage_name(c->stage),
|
||||
c->program_id, c->variant_id,
|
||||
shader->ubo_size / 4);
|
||||
}
|
||||
|
||||
qir_compile_destroy(c);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue