Skip to content

Commit

Permalink
shaders/av1: fix typo in chroma-only grain path
Browse files Browse the repository at this point in the history
This was never tested...
  • Loading branch information
haasn committed Apr 2, 2020
1 parent 6e495db commit afb2570
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shaders/av1.c
Original file line number Diff line number Diff line change
Expand Up @@ -876,7 +876,7 @@ void pl_shader_av1_grain(struct pl_shader *sh,
.object = luma_tex,
});

GLSL("pos = local_id * uvec2(%d, %d0; \n"
GLSL("pos = local_id * uvec2(%d, %d0); \n"
"averageLuma = texelFetch(%s, ivec2(pos), 0).r; \n",
1 << params->sub_x, 1 << params->sub_y,
luma);
Expand Down

0 comments on commit afb2570

Please sign in to comment.