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
  • System
  • Types.hpp
Find file
BlameHistoryPermalink
  • Ben Clayton's avatar
    System/Types.hpp: Make vec(T replicate) constexpr · 5d2a4d4c
    Ben Clayton authored Jan 14, 2020
    The generic template constructor now matches the `vec<T, 4>` specialization in terms of `constexpr`.
    
    This is only achievable with the relaxed rules on `constexpr` in C++14.
    
    Bug: b/147359661
    Change-Id: I1c63ddd1fbdf3c491f8fcdba96047be0665f122f
    Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/40209Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com>
    Tested-by: 's avatarBen Clayton <bclayton@google.com>
    5d2a4d4c
Types.hpp 4.34 KB
EditWeb IDE
×

Replace Types.hpp

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.