If you want to unbind a shader resource in directx11, all code I've found does something along these lines:
ID3D10ShaderResourceView* nullSRV[1] = {nullptr};
context->PSSetShaderResources(0, 1, &nullSRV);
Why not simply use this?
context->PSSetShaderResources(0, 0, nullptr);
It seems supported by the docs (https://msdn.microsoft.com/en-us/library/windows/desktop/ff476473%28v=vs.85%29.aspx), is there really any difference between the two?