On 10/21/19 15:59, Henri Verbeet wrote:
On Mon, 21 Oct 2019 at 16:25, Paul Gofman gofmanp@gmail.com wrote:
Note that this doesn't handle resources bound through SRVs. I don't know for sure whether it should, but it doesn't seem unlikely.
I did not test this with d3d10+ yet, but I suspect it might behave differently, so I intentionally tried not to touch it behaviour here. I read somewhere that d3d11 silently unbinds texture if it is bound to output through RTV, but this of course need to verified.
Yes, it's fine to not touch SRVs in this patch, but it would be a shame not to investigate.
I will test it before resending the patch.