• Show log

    Commit

  • Hash : cd47a379
    Author : jchen10
    Date : 2018-11-11T11:08:16

    Add SH_INIT_SHARED_VARIABLES flag
    
    This option is used to initialize shared variables to zero at the
    beginning of shader execution to avoid compute shaders being able to
    read undefined values that could be coming from another webpage or
    application.
    It's implemented by declaring variables with initial value for HLSL.
    For GLSL, it's not allowed to use declaraction initializer for shared
    variables, so we need to explicitly assign them to zero at the
    beginning of main(). This implementation is only for HLSL.
    
    Bug: chromium:898030
    
    Change-Id: Ic5906500bf4a35cd9a071923f82f32c5e2991be3
    Reviewed-on: https://chromium-review.googlesource.com/c/1330310
    Commit-Queue: Jie A Chen <jie.a.chen@intel.com>
    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