随着Visual Studio 2012的发布,微软添加了D3DCompile2 API,D3DCompile的新版本。唯一的区别是D3DCompile2需要一些与“辅助数据”有关的附加参数。这些数据的性质在文档中没有讨论,并且Google搜索没有涉及到它。 什么是D3DCompile2接受的“二手数据”是什么,它可能来自哪里,它用于什么目的?
我在查找错误源时遇到了一些问题。一切工作正常与应用程式吗我越来越垃圾邮件与这些2个警告: D3D11 WARNING: ID3D11DeviceContext::DrawIndexedInstanced: Input vertex slot 1 has stride 12 which is less than the minimum stride logically expected from t