Im not sure I’ve ever seen InterlockedAdd (hlsl) work correctly on Nvidia. Works on AMD tho. Can’t help but wonder if I’m doing something wrong, and AMD is more permissive. Seen a few reports of other people noticing the same thing.
Interesting. I've seen the problem (it manifests as flickering in the final result) on d3d11. We run Vulkan, D3D12, and D3D11 with an abstraction layer in between, so I'll be digging for a missing barrier. FWIW, problem goes away on Nvidia if I set numthreads(1,1,1).
-
-
Sorry -- to answer the question: No other access in the first shader. I'm fairly straightforward about what buffers are "reads" and what are "writes", with only 1 place of writing for any given buffer.
Kiitos. Käytämme tätä aikajanasi parantamiseen. KumoaKumoa
-
Lataaminen näyttää kestävän hetken.
Twitter saattaa olla ruuhkautunut tai ongelma on muuten hetkellinen. Yritä uudelleen tai käy Twitterin tilasivulla saadaksesi lisätietoja.