DXGI_ERROR_DRIVER_INTERNAL_ERROR 功能级别的 DrawInstanced() 方法 9_3

DXGI_ERROR_DRIVER_INTERNAL_ERROR on DrawInstanced() method at feature level 9_3

我在 DirectX 11 代码中调用 DrawInstanced() 时遇到以下问题。当我使用功能级别 10_0 或更高级别调用 DrawInstanced() 时,一切都按预期工作,但是当我切换到功能级别 9_3 时,我在调试输出中收到以下错误:

D3D11: Removing Device.
D3D11 WARNING: ID3D11Device::RemoveDevice: Device removal has been triggered for the following reason (DXGI_ERROR_DRIVER_INTERNAL_ERROR: There is strong evidence that the driver has performed an undefined operation; but it may be because the application performed an illegal or undefined operation to begin with.). [ EXECUTION WARNING #379: DEVICE_REMOVAL_PROCESS_POSSIBLY_AT_FAULT]

根据 these msdn docs,Directx 9_3 功能级别应支持实例化。怎么回事?

事实证明,虽然在功能级别 9_3 上支持实例化,但根据 msdn,唯一可用的 api 是 DrawIndexedInstanced,所以我不得不适应我的代码使用索引实例。