Skip to content
Snippets Groups Projects
Commit a895db43 authored by Niklas Haas's avatar Niklas Haas
Browse files

shaders/av1: add debug spam for buffer invalidation

Helps tracking down why this state might be getting thrashed.
parent 52449e05
No related branches found
No related tags found
1 merge request!90New grain
......@@ -729,6 +729,11 @@ bool pl_shader_av1_grain(struct pl_shader *sh,
if (offsets_x * offsets_y != obj->num_offsets ||
chroma_lut_size != obj->chroma_lut_size)
{
PL_TRACE(sh, "Regenerating av1 grain buffer due to offsets mismatch "
"(%d != %d) or LUT size mismatch (%d != %d)",
offsets_x * offsets_y, obj->num_offsets,
chroma_lut_size, obj->chroma_lut_size);
// (Re-)generate the SSBO layout
if (obj->tmp) {
talloc_free_children(obj->tmp);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment