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
  • OutputGLSLBase.cpp
Find file
BlameHistoryPermalink
  • Olli Etuaho's avatar
    Output infinity and NaN literals correctly in shaders · 56a2f95f
    Olli Etuaho authored Dec 08, 2016
    Previously infinity and NaN resulting from constant folding would be
    clamped to finite 32-bit float range when they were written in shader
    output. Now they are written as a bit pattern in case the shader
    version allows it.
    
    This does not guarantee that NaNs work, but this is fine, since ESSL
    3.00.6 spec has very loose requirements when it comes to NaNs.
    
    BUG=angleproject:1654
    TEST=angle_end2end_tests
    
    Change-Id: I9997000beeaa8ed22523c22d5cf6929cdfc93f60
    Reviewed-on: https://chromium-review.googlesource.com/417301
    Commit-Queue: Olli Etuaho <oetuaho@nvidia.com>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    56a2f95f
OutputGLSLBase.cpp 38.3 KB
EditWeb IDE
×

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