I've just discovered that the SlimDX pixel shader wrapper class does not include the SetUnorderedAccessView() / SetUnorderedAccessViews() methods that it should (Direct3D11 supports unordered access view use in compute shaders and pixel shaders only).
Was this a simple oversight?
PixelShaderWrapper has no SetUnorderedAccessView methods
In the native side, you set the render targets and UAVs to pixel shaders in the same call to ID3D11DeviceContext::OMSetRenderTargetsAndUnorderedAccessViews.
This mirrors the fact that, to the pixel shader, all writable resources are on the same list of outputs. I believe that typical hardware implementations follow the same principle.
This mirrors the fact that, to the pixel shader, all writable resources are on the same list of outputs. I believe that typical hardware implementations follow the same principle.
This seems to be due to the fact, that there is no native ID3D11DeviceContext::PSSetUnorderedAccessViews method either. A bit mysterious if you ask me. Simply use the OutputMergerWrapper methods instead:
http://slimdx.org/do...pper_SetTargets
http://slimdx.org/do...pper_SetTargets
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement