[Webkit-unassigned] [Bug 75168] [TexMap][QT] The fragment shader in OpenGL ES2 requires the default precision qualifier.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 27 15:03:31 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=75168


Noam Rosenthal <noam.rosenthal at nokia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #120453|review?, commit-queue?      |review-, commit-queue-
               Flag|                            |




--- Comment #3 from Noam Rosenthal <noam.rosenthal at nokia.com>  2011-12-27 15:03:31 PST ---
(From update of attachment 120453)
View in context: https://bugs.webkit.org/attachment.cgi?id=120453&action=review

> Source/WebCore/platform/graphics/opengl/TextureMapperGL.cpp:317
> +#define OES2_FRAGMENT_SHADER_DEFAULT_PRECISION
>  #else
>  #define OES2_PRECISION_DEFINITIONS
> +#define OES2_FRAGMENT_SHADER_DEFAULT_PRECISION \
> +    "precision mediump float; \n"

Can't you just add it to the OES2_PRECISION_DEFINITIONS define instead of creating a new one?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list