隨着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