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
  • vulkan
  • ProgramExecutableVk.h
Find file
BlameHistoryPermalink
  • Tim Van Patten's avatar
    Vulkan: Add descriptor set allocation counters · ee4e0866
    Tim Van Patten authored Sep 24, 2020
    Add descriptor set allocation counters for the following:
    - ContextVk
      - Driver uniform allocations for graphics and compute pipelines.
    - ProgramExecutableVk
      - ANGLE driver uniforms
      - Uniforms
      - Textures
      - Other shader resources
    - UtilsVk
      - All of the UtilsVk::Function types increment the same counter
    
    Each object's counters live within the object itself and the cumulative
    total is output as part of that object's destruction. On Present, all of
    the descriptor set counts are collected into a single total which is
    used to update the overlay each frame.
    
    In order to see the cumulative total output for each object, the
    following GN args must be enabled:
    is_debug = true
    angle_enable_perf_counter_output = true
    
    To see the descriptor set allocation overlay:
    ANGLE_OVERLAY=VulkanDescriptorSetAllocations
    
    Bug: angleproject:5067
    Test: Manual verification with angle_perftests
    Change-Id: Ie45fda56ade3e68bfba7bf6da9554eb05a02c6b6
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2429487
    Commit-Queue: Tim Van Patten <timvp@google.com>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarCharlie Lao <cclao@google.com>
    ee4e0866
ProgramExecutableVk.h 11.8 KB
EditWeb IDE
×

Replace ProgramExecutableVk.h

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.