Original Post
Hi,
I have a 2D texture buffer that I use on a compute shader.
I nead read access to it using SampleLevel method and a write access to it.
Since SampleLevel is defined for Texture2D buffer and not for RWTexture2D - using it as UAV only is not an option.
Can I use the same texture as Unordered Access View and as Shader Resource Views simultaneously on the same compute shader?
Thanks,
Meir.
I have a 2D texture buffer that I use on a compute shader.
I nead read access to it using SampleLevel method and a write access to it.
Since SampleLevel is defined for Texture2D buffer and not for RWTexture2D - using it as UAV only is not an option.
Can I use the same texture as Unordered Access View and as Shader Resource Views simultaneously on the same compute shader?
Thanks,
Meir.