Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
A
angle
  • Project
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Chen Yisong
  • angle
  • Repository

Switch branch/tag
  • angle
  • src
  • compiler
  • translator
  • Compiler.cpp
Find file
BlameHistoryPermalink
  • shrekshao's avatar
    Turn on clampArrayAccess globally but off for compute shaders · 571ceb5f
    shrekshao authored Jan 24, 2020
    out-of-bounds-uniform-array-access.html could fail on Linux Nvidia
    OpenGL even if GL_KHR_robust_buffer_access_behavior is available.
    Turning clampArrayAccess on globally but turn it off for Compute Shader,
    which is not used by WebGL so should be okay.
    
    FYI: The failures when turning this on globally are all in compute shaders.
    One could be fixed by using int cast instead of float for the clamp
    modifier. The other is due to array.length() couldn't return correct
    result for array in SSBO.
    
    Bug: chromium:1042252
    Change-Id: Ic6f7adae4600d35207646881b18990a0c25a889a
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2020463
    Commit-Queue: Shrek Shao <shrekshao@google.com>
    Reviewed-by: 's avatarKenneth Russell <kbr@chromium.org>
    571ceb5f
Compiler.cpp 52 KB
EditWeb IDE
×

Replace Compiler.cpp

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.