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
  • libANGLE
  • renderer
  • d3d
  • ProgramD3D.h
Find file
BlameHistoryPermalink
  • Arun Patole's avatar
    Conditionally enable IEEE strictness for isnan() · 44efa0b8
    Arun Patole authored Mar 04, 2015
    ANGLE's ESSL3 built-in function isnan() implementation just uses HLSL
    intrinsic function isnan(). For HLSL intrinsic function isnan() to work
    properly, IEEE strictness needs to be enabled for D3D compiler.
    
    This change detects use of isnan() in shaders and passes compiler flag
    D3DCOMPILE_IEEE_STRICTNESS whenever isnan is used in shaders. This
    change also moves existing workarounds in D3DWorkaroundType to
    D3DCompilerWorkarounds.
    
    BUG=angle:927
    TEST= dEQP tests
    dEQP-GLES3.functional.shaders.builtin_functions.common.isnan.*
    
    Change-Id: I1ce5b1a7a825fdd720a37dc9aeb71320e55162d9
    Reviewed-on: https://chromium-review.googlesource.com/255834Reviewed-by: 's avatarOlli Etuaho <oetuaho@nvidia.com>
    Tested-by: 's avatarJamie Madill <jmadill@chromium.org>
    44efa0b8
ProgramD3D.h 10.2 KB
EditWeb IDE
×

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