Last week, I developed a small rendering task for a technical test (I won't say the company name neither the complete topic, for confidential reasons).
I finished the test in time, but for a strange reason it perfeclty works on NVidia hardware, but not on ATI hardware. The rendering is done in a right-handed environment, because it must be compatible with both Direct3D and OpenGL.
I tried to have a look at PIX, and all is fine (index buffers, streams, textures, shaders, render state...). The vertex shader works well (tried to look at the different steps of a single mesh rendering), but the rasterizer seems to discard all the triangles, and it seems that the pixel shader is never called (if I right click a pixel and select "debug this pixel", I have nothing excepted the "clear" pixel setting). Sometimes, I read "this pixel has been discarded for the following reason : did not pass the alpha test", but there is no vertex shader/pixel shader to debug. Also, the alpha test is set to false, and the func is set to "always" !
Is there something I missed in the process ?
If you need more info that can help me solve the problem, just ask me for them and I'll give you what you need
Thanks in advance
(PS : the D3D9 debug mode tells me that the ATI driver does not support index buffers ("(info) : failed to create driver index buffer"), so I tried primitive rendering without indices but it still draws nothing. Trying to update my ATI driver brought me to a blue screen)
@xi@g@meMember Since 26 Jul 2010
Offline Last Active Sep 25 2012 07:56 AM
- Group Members
- Active Posts 19
- Profile Views 382
- Member Title Member
- Age Age Unknown
- Birthday Birthday Unknown
@xi@g@me hasn't added any contacts yet.