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
  • tests
  • compiler_tests
  • DebugShaderPrecision_test.cpp
Find file
BlameHistoryPermalink
  • Olli Etuaho's avatar
    EmulatePrecision: Round constructor args only when needed · 7854d861
    Olli Etuaho authored May 09, 2017
    Constructor arguments don't need to be rounded if the constructor
    result will be rounded to the same precision.
    
    This will make precision emulated shaders slightly faster to execute
    in some cases.
    
    BUG=angleproject:874
    TEST=angle_unittests
    
    Change-Id: I4220cd2289c97dcf5b7a25a4cbdd18487947c2d2
    Reviewed-on: https://chromium-review.googlesource.com/500288Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Commit-Queue: Olli Etuaho <oetuaho@nvidia.com>
    7854d861
DebugShaderPrecision_test.cpp 43.2 KB
EditWeb IDE
×

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