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
  • ShCompile_test.cpp
Find file
BlameHistoryPermalink
  • Jamie Madill's avatar
    translator: Put ShaderLang APIs in "sh" namespace. · acb4b81a
    Jamie Madill authored Nov 07, 2016
    Working with glslang in Vulkan means we are static linking libANGLE
    with functions that have the same name as our translator APIs. We
    can fix this by scoping our APIs. We don't need to scope the types
    of the file, since they don't conflict.
    
    This will require a follow-up patch to remove the unscoped APIs
    once we switch over Chromium.
    
    We also scope TCompiler and some related classes to avoid multiply
    defined link errors with glslang.
    
    BUG=angleproject:1576
    
    Change-Id: I729b19467d2ff7d374a82044b16dbebdf2dc8f16
    Reviewed-on: https://chromium-review.googlesource.com/408337Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
    Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    acb4b81a
ShCompile_test.cpp 2.32 KB
EditWeb IDE
×

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