Skip to content

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

Switch branch/tag
  • angle
  • src
  • libANGLE
  • renderer
  • glslang_wrapper_utils.cpp
Find file
BlameHistoryPermalink
  • Tobin Ehlis's avatar
    Vulkan:Transform/feedback instanced draw support · c713abfd
    Tobin Ehlis authored Dec 23, 2019
    These fixes allow dEQP 3.1 KHR-GLES31.core.vertex_attrib_binding.basic-input*
    test cases to pass.
    
    This fixes a bug in instanced drawing with transform feedback buffers
    where we were overwriting the initial transform feedback output as new
    instances were drawn. To fix this, the vertices in each draw are passed
    into a uniform value and the output is offset based on the current instance
    and the number of vertices in the draw.
    
    It also fixes a validation error where transform feedback descriptor
    was sometimes setting a buffer range of 0. This is not allowed, so in
    the 0 case we pull the actual buffer size from the bufferHelper object.
    
    Bug: angleproject:4236
    Change-Id: Ib72898a0e6caab96c446c1e996a6124d2c001193
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1979600
    Commit-Queue: Tobin Ehlis <tobine@google.com>
    Reviewed-by: 's avatarCourtney Goeltzenleuchter <courtneygo@google.com>
    Reviewed-by: 's avatarTobin Ehlis <tobine@google.com>
    c713abfd
glslang_wrapper_utils.cpp 50.5 KB
EditWeb IDE
×

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