Closed Bug 1383326 Opened 2 years ago Closed 2 years ago
Silence AL warnings in the D3D11 debug layer
Bug 1380142 added support for the D3D11 debug layer. AL spams the error log with a single warning that some constant buffers are smaller than the shader size expects. We do this on purpose and it's safe, the shader never reads beyond the bound buffer size. So we should just silence the warning.
Another fix. AL also triggers an error about OMSetRenderTarget while the RT is still bound as a pixel shader input. Technically it's harmless, we can either clear the binding or silence the warning. This clears the binding.
Attachment #8889132 - Flags: review?(bas) → review+
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/mozilla-inbound/rev/d5cee2b7e3a4 Silence spurious Advanced Layers warnings in the D3D11 debug layer. (bug 1383326, r=bas)
You need to log in before you can comment on or make changes to this bug.