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
  • TranslatorHLSL.cpp
Find file
BlameHistoryPermalink
  • Geoff Lang's avatar
    HLSL: Insert return statements into functions that are missing them. · 156d7197
    Geoff Lang authored Jul 21, 2016
    It's allowed to not have all code paths return a value in ESSL but the HLSL
    compiler detects this and generates an error.  Work around this by adding
    dummy return statements at the end of each function that doesn't have one.
    
    TEST=deqp/data/gles2/shaders/functions.html
    
    BUG=angleproject:1015
    BUG=478572
    
    Change-Id: I2913f90f0994d4caf25cc43b16b9fc4e9efb19a5
    Reviewed-on: https://chromium-review.googlesource.com/362085Reviewed-by: 's avatarZhenyao Mo <zmo@chromium.org>
    Commit-Queue: Geoff Lang <geofflang@chromium.org>
    156d7197
TranslatorHLSL.cpp 4.39 KB
EditWeb IDE
×

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