1. 13 Nov, 2018 1 commit
    • Add SH_INIT_SHARED_VARIABLES flag · cd47a379
      jchen10 authored
      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: 's avatarJamie Madill <jmadill@chromium.org>
  2. 12 Nov, 2018 7 commits
  3. 09 Nov, 2018 3 commits
  4. 08 Nov, 2018 3 commits
  5. 07 Nov, 2018 1 commit
  6. 06 Nov, 2018 3 commits
  7. 05 Nov, 2018 1 commit
  8. 02 Nov, 2018 8 commits
  9. 01 Nov, 2018 1 commit
  10. 31 Oct, 2018 5 commits
  11. 30 Oct, 2018 7 commits