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
  • NodeSearch.h
Find file
BlameHistoryPermalink
  • Olli Etuaho's avatar
    Set mUsesDiscardRewriting more conservatively · fd3b9be6
    Olli Etuaho authored May 18, 2015
    This fixes a regression from recent refactoring of unfolding short-circuiting
    operators. mUsesDiscardRewriting used to be set based on detecting patterns
    that the AST traverser now overwrites before the code reaches OutputHLSL. With
    this patch mUsesDiscardRewriting is set more conservatively, which ensures that
    using discard works correctly also in case the input shader contains the same
    kind of pattern as the short-circuiting operator unfolding creates.
    
    TEST=WebGL conformance tests on D3D9
    BUG=chromium:488552
    
    Change-Id: Iea0103822a268079593b0913f0b6fc54c745c6e3
    Reviewed-on: https://chromium-review.googlesource.com/271761Reviewed-by: 's avatarZhenyao Mo <zmo@chromium.org>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Tested-by: 's avatarOlli Etuaho <oetuaho@nvidia.com>
    fd3b9be6
NodeSearch.h 1.14 KB
EditWeb IDE
×

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