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
  • RewriteTexelFetchOffset.cpp
Find file
BlameHistoryPermalink
  • Shao's avatar
    Add a workaround for Intel drivers on glsl function texelfetchoffset · 11e43ece
    Shao authored Aug 11, 2016
    GLSL function texelfetchoffset will be translated into texture.Load in
    ANGLE. In D3D there is a note that When one or more of the coordinates
    in Location exceeds the u, v, or w mipmap level dimensions of the
    texture, Load returns zero in all components, but in glsl there is no
    such restriction, which will cause the WebGL 2 dEQP test
    deqp/functional/gles3/shadertexturefunction/texelfetchoffset.html fail
    on Windows with Intel GPU.
    
    Adapted from ExpandIntegerPowExpressions.cpp, this patch adds a
    translation from texelFetchOffset into texelFetch to work around this
    issue.
    
    BUG=angleproject:1469
    
    Change-Id: Iecfb9570472036acf5960789bdb1a63f191316be
    Reviewed-on: https://chromium-review.googlesource.com/367883
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>
    11e43ece
RewriteTexelFetchOffset.cpp 5.31 KB
EditWeb IDE
×

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