Search Unity

Question ComputeBufferMode.Dynamic unsupported on Direct3D11?

Discussion in 'General Graphics' started by Per-Morten, Apr 16, 2021.

  1. Per-Morten

    Per-Morten

    Joined:
    Aug 23, 2019
    Posts:
    119
    Hi,

    I have some compute buffers that I will be updating quite frequently from the CPU, so in accordance with the documentation on ComputeBufferMode I thought I would use ComputeBufferMode.Dynamic, or potentially ComputeBufferMode.SubUpdates. However, as soon as I change my compute buffers to be Dynamic rather than Immutable, my stuff stops working in D3D11, it still works correctly in Vulkan and in D3D12.

    So, the question is ComputeBufferMode.Dynamic/ComputeBufferMode.SubUpdates not supported on D3D11?
     
  2. Per-Morten

    Per-Morten

    Joined:
    Aug 23, 2019
    Posts:
    119