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
  • IntermNode.cpp
Find file
BlameHistoryPermalink
  • Arun Patole's avatar
    Support constant folding of fragment processing built-ins · 0c5409f8
    Arun Patole authored Jul 08, 2015
    This change adds constant folding support for following derivative
    functions:
        - dFdx, dFdy and fwidth.
    As per spec, derivatives of constant arguments should be 0, so this
    change just sets result components to zero when the above operations
    are performed on constant argument.
    
    BUG=angleproject:913
    TEST=dEQP Tests
    dEQP-GLES3.functional.shaders.constant_expressions.builtin_functions.
    fragment_processing.*
    (All 12 tests started passing with this change.)
    
    Change-Id: I67b7c5abd970b740e15e3bd1ee56721e81bbecc4
    Reviewed-on: https://chromium-review.googlesource.com/283759Reviewed-by: 's avatarOlli Etuaho <oetuaho@nvidia.com>
    Tested-by: 's avatarOlli Etuaho <oetuaho@nvidia.com>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    0c5409f8
IntermNode.cpp 87.5 KB
EditWeb IDE
×

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