Can we disable D3D11_CREATE_DEVICE_SINGLETHREADED without Command Line Arguments?
I wrote a native plugin which uses D3D11’s DeferredContext.
If graphic device is created with D3D11_CREATE_DEVICE_SINGLETHREADED, we can’t create DeferredContext interface.
Currently, I use “-force-d3d11-no-singlethreaded” for DeferredContext.
But I don’t want to use this command line on release build either.
Thanks.
I think D3D11_CREATE_DEVICE_SINGLETHREADED should not be used by default. You can force it with “-force-d3d11-singlethreaded”, but if you give no command line arguments, the default should be the D3D11 default (i.e. no SINGLETHREADED).
However, Unity 2018.4.0f actually creates GFX with D3D11_CREATE_DEVICE_SINGLETHREADED as default.
Game build uses D3D11_CREATE_DEVICE_SINGLETHREADED, too.
I didn’t use “-force-d3d11-singlethreaded” at all.
How do I fix it?
Thanks.