mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 11:32:38 +00:00
eglglessink: GLSL: Save one extra texture lookup
This commit is contained in:
parent
0ed02803f7
commit
af009b7de7
1 changed files with 1 additions and 2 deletions
|
@ -294,8 +294,7 @@ static const char *frag_NV12_NV21_prog = {
|
|||
" float r,g,b;"
|
||||
" vec3 yuv;"
|
||||
" yuv.x=texture2D(Ytex,opos).r;"
|
||||
" yuv.y=texture2D(UVtex,opos).%c;"
|
||||
" yuv.z=texture2D(UVtex,opos).%c;"
|
||||
" yuv.yz=texture2D(UVtex,opos).%c%c;"
|
||||
" yuv += offset;"
|
||||
" r = dot(yuv, rcoeff);"
|
||||
" g = dot(yuv, gcoeff);"
|
||||
|
|
Loading…
Reference in a new issue