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
  • RewriteElseBlocks.cpp
Find file
BlameHistoryPermalink
  • Jamie Madill's avatar
    Fix HLSL compiler error with else-rewriting in functions. · b75fee4e
    Jamie Madill authored Feb 26, 2014
    In functions with return types where we would use if-else rewriting,
    we would potentially generate a spurious HLSL error that warned of
    branches with no return value in the function.
    
    This was causing a maps regression where overlays would not draw
    in Earth mode.
    
    BUG=346463
    
    Change-Id: Icd53023286dfa43b653fd6e261b1cdb952627706
    Reviewed-on: https://chromium-review.googlesource.com/187847Reviewed-by: 's avatarNicolas Capens <nicolascapens@chromium.org>
    Tested-by: 's avatarJamie Madill <jmadill@chromium.org>
    b75fee4e
RewriteElseBlocks.cpp 4.68 KB
EditWeb IDE
×

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