【问题标题】:DXGI_ERROR_DRIVER_INTERNAL_ERROR on DrawInstanced() method at feature level 9_3功能级别 9_3 的 DrawInstanced() 方法上的 DXGI_ERROR_DRIVER_INTERNAL_ERROR
【发布时间】:2016-04-02 18:43:02
【问题描述】:

我的 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 功能级别应支持实例化。怎么回事?

【问题讨论】:

    标签: directx directx-11


    【解决方案1】:

    事实证明,虽然功能级别 9_3 支持实例化,但根据 msdn,唯一有效的 api 是 DrawIndexedInstanced,因此我必须调整我的代码以使用索引实例化。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2020-03-14
      • 2011-11-29
      • 2022-01-17
      • 1970-01-01
      • 1970-01-01
      • 2012-08-28
      • 2021-05-17
      相关资源
      最近更新 更多