• Show log

    Commit

  • Hash : 7835b525
    Author : Qin Jiajia
    Date : 2016-10-08T11:20:17

    Reland "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: I18da4e2b61b0170068bf5ea38ce54667b0737780
    Reviewed-on: https://chromium-review.googlesource.com/395648
    Reviewed-by: Corentin Wallez <cwallez@chromium.org>
    Commit-Queue: Corentin Wallez <cwallez@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
    kc3_lang_org thodg_w www_kmx_io thodg_l thodg thodg_m
    Tags