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
  • ParseContext.cpp
Find file
BlameHistoryPermalink
  • Olli Etuaho's avatar
    Check that texture offset is constant and valid · e1a94c67
    Olli Etuaho authored Nov 16, 2015
    Offset passed to textureOffset and similar functions must be constant.
    See ESSL 3.00 spec section 8.8.
    
    It must also be in the valid range between MIN_PROGRAM_TEXEL_OFFSET and
    MAX_PROGRAM_TEXEL_OFFSET. Using values outside the valid range makes
    the results of the texture lookup undefined, as specified in GLES 3.0.4
    section 3.8.10. We generate a compiler error if an offset is outside the
    valid range.
    
    BUG=angleproject:1215
    TEST=angle_unittests
    
    Change-Id: Ida28361444d2f4050d516160f1491674c31868a1
    Reviewed-on: https://chromium-review.googlesource.com/312223Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Tested-by: 's avatarOlli Etuaho <oetuaho@nvidia.com>
    e1a94c67
ParseContext.cpp 136 KB
EditWeb IDE
×

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