Age | Commit message (Collapse) | Author |
|
|
|
In GLES shaders 'if defined(HAS_FLOAT_TEXTURE)' was always true
as HAS_FLOAT_TEXTURE was always defined. Fix this by not defining
HAS_FLOAT_TEXTURE when target does not support it and amend
GL shaders to follow this behaviour.
|
|
this fixes the issue with green border with nv12 texture.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
conversion.
|
|
|
|
AMD devs don't follow data conversion rules in case of float to unorm. The algo described at
https://msdn.microsoft.com/ru-ru/library/windows/desktop/dd607323%28v=vs.85%29.aspx?f=255&MSPPError=-2147217396
there is NaN should be converted to 0. So we have to use this fix for AMD hardware.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Fixes missing green channel when VA-API is used with GLES2. This
switch was already present in OpenGL, but not in GLES2.
|
|
|
|
|
|
|