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
  • BuiltInFunctionEmulatorGLSL.h
Find file
BlameHistoryPermalink
  • Olli Etuaho's avatar
    Work around atan(y, x) bug on NVIDIA · da9fb093
    Olli Etuaho authored Dec 09, 2016
    atan(y, x) is not always returning expected results on NVIDIA OpenGL
    drivers between versions 367 and 375. Work around this by emulating
    atan(y, x) using the regular atan(x) function. A fix to the driver is
    expected in a future release.
    
    It is most convenient to implement the vector atan(y, x) functions by
    using the scalar atan(y, x) function. Support for simple dependencies
    between emulated functions is added to BuiltInFunctionEmulator. In the
    current implementation one function is allowed to have at most one
    other function as its dependency.
    
    BUG=chromium:672380
    TEST=angle_end2end_tests
    
    Change-Id: I9eba8b0b7979c7c7eaed353b264932e41830beb1
    Reviewed-on: https://chromium-review.googlesource.com/419016
    Commit-Queue: Olli Etuaho <oetuaho@nvidia.com>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    da9fb093
BuiltInFunctionEmulatorGLSL.h 1.35 KB
EditWeb IDE
×

Replace BuiltInFunctionEmulatorGLSL.h

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.