deltacasttv/video-viewer

Invalid operands types in ycbrcr422_8 to rgb444 shader

Closed this issue · 1 comments

On line 25 of ycbcr422_8_to_rgb444.shader

" bool odd_column = (mod(coords.x, 2.0) >= 1.0);\n"

A mod operation is performed on an int and float, which throws an error.

Proposed change:
bool odd_column = (mod(coords.x, 2) >= 1.0);\n

Fixed in pull request #11