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
  • Vulkan
  • VkStringify.hpp
Find file
BlameHistoryPermalink
  • Sean Risser's avatar
    Make Vk::Stringify return std::string · 8ffeadb6
    Sean Risser authored Dec 02, 2019
    We want Vk::Stringify to return the numeric value passed to it when it's
    in release mode or when it fails to find the matching string. However,
    we can't do that if we return a char* because the char* will be a
    pointer to a point on the stack.
    
    Bug: b/139528538
    Change-Id: I1bab741e7e7aceea44c6179b2159f8a55497d3e0
    Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/38868Reviewed-by: 's avatarBen Clayton <bclayton@google.com>
    Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
    Tested-by: 's avatarSean Risser <srisser@google.com>
    Presubmit-Ready: Sean Risser <srisser@google.com>
    8ffeadb6
VkStringify.hpp 859 Bytes
EditWeb IDE
×

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