mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-31 05:52:11 +01:00
[d3d11] Reduce log spam about UAV rendering
This commit is contained in:
parent
1e7a05c796
commit
05f24c3c38
@ -2095,7 +2095,10 @@ namespace dxvk {
|
||||
OMSetRenderTargets(NumRTVs, ppRenderTargetViews, pDepthStencilView);
|
||||
|
||||
if (NumUAVs != D3D11_KEEP_UNORDERED_ACCESS_VIEWS) {
|
||||
Logger::warn("D3D11: UAV rendering not properly implemented yet");
|
||||
static std::atomic<bool> s_warningShown = { false };
|
||||
|
||||
if (NumUAVs != 0 && !s_warningShown.exchange(true))
|
||||
Logger::warn("D3D11: UAV rendering not properly implemented yet");
|
||||
|
||||
// UAVs are made available to all shader stages in
|
||||
// the graphics pipeline even though this code may
|
||||
|
Loading…
x
Reference in New Issue
Block a user