Logrus
Topic Author
Posts: 23
Joined: 22 Jul 2015, 12:16

DirectX 11 Render warning

26 Nov 2020, 08:37

Hi,
I am setting to Image.Source (DX11 Render Target), as a result I have a DX11 warning
D3D11 WARNING: ID3D11DeviceContext::OMSetRenderTargets[AndUnorderedAccessViews]: Forcing PS shader resource slot 0 to NULL. [ STATE_SETTING WARNING #7: DEVICE_PSSETSHADERRESOURCES_HAZARD]
NoesisApp::D3D11RenderDevice after rendering does not clear pixel shader resource slots

to fix the warning, I added ClearTextures () to the EndRender () method
void D3D11RenderDevice::EndRender()
{
    ClearTextures();
    DX_END_EVENT();
}

Tags:
 
User avatar
jsantos
Site Admin
Posts: 3138
Joined: 20 Jan 2012, 17:18
Contact:

Re: DirectX 11 Render warning

26 Nov 2020, 10:59

Thanks for this, could you please file a bug about it?
 
Logrus
Topic Author
Posts: 23
Joined: 22 Jul 2015, 12:16

Re: DirectX 11 Render warning

26 Nov 2020, 11:21

Unfortunately,
I do not have permission to access the bug tracker((
 
User avatar
jsantos
Site Admin
Posts: 3138
Joined: 20 Jan 2012, 17:18
Contact:

Re: DirectX 11 Render warning

26 Nov 2020, 11:31

For the tracker you need to create a new account. Sorry for that inconvenience.

Who is online

Users browsing this forum: jsteedVR and 3 guests