summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/Makefile.sources
diff options
context:
space:
mode:
authorMaarten Lankhorst <[email protected]>2012-12-18 13:13:01 +0100
committerMaarten Lankhorst <[email protected]>2013-01-16 17:22:45 +0100
commit892c1fa8d8248bcdb153faf0694073e3b4a91ed3 (patch)
treedfe195571aa1a1b57551b0a8a7833a0d549e46ea /src/gallium/auxiliary/Makefile.sources
parentdfcd7658c591d83adbca038669b1be702fac9dcb (diff)
vl/compositor: fix weave shader bugs
Writemask was XY instead of YZ (thanks to calim for spotting it). The pixel calculation resulted in the pixel always being off by one. If y was .5: y' = round(y) + 0.5 = 1.5 Fixing this also means the LRP function has to swap the pixels it, since it's now the other way around for top/bottom. WIth these fixes only chroma for top and bottom pixel rows are wrongly interpolated in my test program: --- nvidia +++ nouveau @@ -1,4 +1,4 @@ -YCbCr[0] = 00c080 +YCbCr[0] = 00b070 YCbCr[1] = 00b070 YCbCr[2] = 029050 YCbCr[3] = 207050 @@ -61,4 +61,4 @@ YCbCr[60] = 0c5070 YCbCr[61] = c05090 YCbCr[62] = 0e70b0 -YCbCr[63] = e080c0 +YCbCr[63] = e070b0 Signed-off-by: Maarten Lankhorst <[email protected]> Reviewed-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/Makefile.sources')
0 files changed, 0 insertions, 0 deletions