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
  • tests
  • compiler_tests
  • ShaderValidation_test.cpp
Find file
BlameHistoryPermalink
  • Olli Etuaho's avatar
    Fix checking negative index when indexing matrix/vector · f13cadd8
    Olli Etuaho authored Nov 28, 2017
    It's important that the test against the maximum of the valid range
    is only done if the index is positive, so the sanitized index value
    is guaranteed to end up in the valid range.
    
    This fixes a regression from commit "Add GLSL support for
    runtime-sized arrays in SSBOs".
    
    BUG=chromium:789029
    TEST=angle_unittests
    
    Change-Id: Ic7125e383a64e46994b072df6d7e642432c521af
    Reviewed-on: https://chromium-review.googlesource.com/792935Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Commit-Queue: Olli Etuaho <oetuaho@nvidia.com>
    f13cadd8
ShaderValidation_test.cpp 167 KB
EditWeb IDE
×

Replace ShaderValidation_test.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.