Latest AtomicOperations Activity
51mon said:
This might require a bit of experimentation on my end + benchmarking etc.
yes.
Having the counter incremented in LDS is a nice idea. Notice, you can use the three arguments InterlockedAdd() function call to get immediately the older value of the counter and you use it to compute the offset…
What kind of primitives are you actually drawing when you use that vertex shader that decrements the counter? Depending on what you're drawing and how you're indexing it's possible that the VS is executing more times than expect, which would cause the counter to underflow.
Either way, this would pro…
Advertisement
Advertisement
Advertisement