Search Unity

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:
    101