• Show log

    Commit

  • Hash : 9aa83fe3
    Author : Qin Jiajia
    Date : 2016-09-29T08:42:42

    Add workaround for unused std140 and shared uniform blocks on MacOS
    
    On some Mac drivers with shader version 4.1, they will
    treat unused std140 and shared uniform blocks' members as inactive. However,
    WebGL2.0 based on OpenGL ES3.0.4 requires all members of a named uniform block
    declared with a shared or std140 layout qualifier to be considered active.
    The uniform block itself is also considered active.
    
    This workaround is to reference all members of unused std140 and shared uniform blocks
    at the beginning of the vertex/fragment shader's main().
    
    BUG=chromium:618464
    TEST=UniformBufferTest.ActiveUniformBlockNumber
    
    Change-Id: I1d2c5e3e8da04786ac6a37fd26f7bb9c14cd76ed
    Reviewed-on: https://chromium-review.googlesource.com/387169
    Commit-Queue: Corentin Wallez <cwallez@chromium.org>
    Reviewed-by: Corentin Wallez <cwallez@chromium.org>
    Reviewed-by: Jamie Madill <jmadill@chromium.org>
    

  • Properties

  • Git HTTP https://git.kmx.io/kc3-lang/angle.git
    Git SSH git@git.kmx.io:kc3-lang/angle.git
    Public access ? public
    Description

    A conformant OpenGL ES implementation for Windows, Mac, Linux, iOS and Android.

    Homepage

    Github

    Users
    thodg_m kc3_lang_org thodg_w www_kmx_io thodg thodg_l
    Tags