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
  • VkInstance.cpp
Find file
BlameHistoryPermalink
  • Chris Forbes's avatar
    Fix edge cases of various enumeration functions · df84b946
    Chris Forbes authored Jun 12, 2019
    - It is acceptable to pass a larger array to these functions than you
      actually need. The functions are specified to overwrite the `count`
      parameter with the number of elements actually written. Previously we
      would assert in debug, or in release we would leave the input count
      unmodified, which would lead an app which uses this pattern to
      consider uninitialized junk to be valid elements.
    
    - It is acceptable to provide a pointer to a result buffer *and* a
      count of zero. This should return VK_INCOMPLETE if there are any
      elements. We mishandled this in physical device and physical device
      group queries.
    
    Bug: b/117974925
    Test: dEQP-VK.api.info.*
    Change-Id: I2764831726bb4911ba4cab847fa4b404817508c5
    Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/32749Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com>
    Reviewed-by: 's avatarAlexis Hétu <sugoi@google.com>
    Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
    Tested-by: 's avatarChris Forbes <chrisforbes@google.com>
    df84b946
VkInstance.cpp 1.88 KB
EditWeb IDE
×

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