Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Question Is there a DispatchRaysIndirect?

Discussion in 'HDRP Ray Tracing' started by burningmime, Nov 19, 2022.

  1. burningmime

    burningmime

    Joined:
    Jan 25, 2014
    Posts:
    845
    I'm filling an append buffer with ray requests in a compute shader. Can I dispatch one ray per buffer element (other than a GPU readback to get counter value on the CPU, which seems like a terrible idea).
     
  2. INedelcu

    INedelcu

    Unity Technologies

    Joined:
    Jul 14, 2015
    Posts:
    173
    Indirect DispatchRays is not supported.
     
  3. INedelcu

    INedelcu

    Unity Technologies

    Joined:
    Jul 14, 2015
    Posts:
    173