Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
S
swiftshader
  • 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
  • swiftshader
  • Repository

Switch branch/tag
  • swiftshader
  • src
  • Pipeline
  • CMakeLists.txt
Find file
BlameHistoryPermalink
  • Nicolas Capens's avatar
    Eliminate SpirvShaderEnumNames.cpp · 348ba200
    Nicolas Capens authored Jan 03, 2021
    It only contained the now trivial OpcodeName() implementation. Since the
    SpirvShaderInstructions.cpp file already contains other SPIR-V opcode
    utility functions, move it there.
    
    Also make this function return a pointer to a constant char string,
    to avoid needless std::string construction.
    
    Bug: b/145351270
    Change-Id: Iacfc887566b0a9057f37391ad52d43cdca912308
    Signed-off-by: 's avatarNicolas Capens <capn@google.com>
    Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/51448
    Kokoro-Result: kokoro <noreply+kokoro@google.com>
    Tested-by: 's avatarNicolas Capens <nicolascapens@google.com>
    Reviewed-by: 's avatarAlexis Hétu <sugoi@google.com>
    348ba200
CMakeLists.txt 2.58 KB
EditWeb IDE
×

Replace CMakeLists.txt

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.