|
|
写了个使用vertex shader的演示程序,编译链接通过,运行时却出现如下错误
Direct3D8: (INFO) irect3D8 Debug Runtime selected.
Direct3D8: (INFO) :======================= Hal SWVP device selected
Direct3D8: (INFO) :HalDevice Driver Style 7
Direct3D8: :BackBufferCount not specified, considered default 1
Direct3D8: :DoneExclusiveMode
'Direct3D HAL (SWVP) Device 1': Attached to debug monitor.
“Technique.exe”: 已加载“E:\WINDOWS\system32\d3dxof.dll”,未加载任何符号。
D3DX: (INFO) Using SSE2 Instructions
'Direct3D HAL (SWVP) Device 1': Loaded vertex shader 'VS3' (no debug info)
D3DX: Matrices should be 16-byte aligned for optimized D3DXMatrixMultiply
Direct3D8: (WARN) :Ignoring redundant SetRenderState - 56
D3DX: Matrices should be 16-byte aligned for optimized D3DXMatrixMultiply
Direct3D8: (INFO) :In stream 0 vertex buffer with FVF is used with programmable vertex shader
Direct3D8: (ERROR) :Error in instruction number: 6
Technique.exe 中的 0x7c901230 处未处理的异常: 用户断点 。
以前也经常出现这个错误: 未处理的异常: 用户断点,而且原因不尽相同,但我程序中根本没断点啊, 而且Direct3D8: (ERROR) :Error in instruction number: 6也不知道怎么产生的
欢迎大家讨论这个问题,只要能给点启示就行
|
|