What happens when you read and write off the end of a buffer in a hlsl shader?
In my experience it seems that writing of the end is a no-op, and reading always returns zero.
Is this undefined behaviour? Should I do it, expecting the above results?
Does it matter whether the resource is untyped or typed?
RWBuffer<uint> // typed
RWStructuredBuffer<uint> // untyped