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
  • Constants.cpp
Find file
BlameHistoryPermalink
  • Sean Risser's avatar
    Define static constexpr members in .cpp files · 3549479d
    Sean Risser authored Jan 11, 2021
    Members of classes that are declared as static constexpr are not defined
    as part of their declaration. Thus they must be defined elsewhere. And
    they can't be defined in the header file, or there will be multiple
    definitions for each file that includes the header.
    
    So define these contexprs in Constants.cpp
    
    Bug: b/177220369
    Change-Id: I9ffc63867948bc72061ddb8b0b586a46d840196c
    Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/51628
    Kokoro-Result: kokoro <noreply+kokoro@google.com>
    Reviewed-by: 's avatarAlexis Hétu <sugoi@google.com>
    Tested-by: 's avatarSean Risser <srisser@google.com>
    Commit-Queue: Sean Risser <srisser@google.com>
    3549479d
Constants.cpp 13.9 KB
EditWeb IDE
×

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