Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on March 30, 2023, between 5 am & 1 pm EST, in the Performance Profiling Dev Blitz Day 2023 - Q&A forum and Discord where you can connect with our teams behind the Memory and CPU Profilers.
    Dismiss Notice

Feature Request Requesting CommandBuffer.DispatchIndirect API

Discussion in 'Universal Render Pipeline' started by BellyLand, Oct 29, 2021.

  1. BellyLand

    BellyLand

    Joined:
    Feb 5, 2019
    Posts:
    6
    Hi all,

    I'm working on implementing a rendering feature that have some culling compute shaders pipeline that could be improved with the use of compute shader indirect dispatch (https://docs.unity3d.com/ScriptReference/ComputeShader.DispatchIndirect.html).

    But the current CommandBuffer API (https://docs.unity3d.com/ScriptReference/Rendering.CommandBuffer.html) doesn't really have support for that (even though it has draw indirect exposed).

    I wonder if its possible for Unity team to expose the ComputeShader.DispatchIndirect to the CommandBuffer?
     
  2. BellyLand

    BellyLand

    Joined:
    Feb 5, 2019
    Posts:
    6
  3. daneobyrd

    daneobyrd

    Joined:
    Mar 29, 2018
    Posts:
    99