Jump to content

  • Log In with Google      Sign In   
  • Create Account

@xi@g@me

Member Since 26 Jul 2010
Offline Last Active Sep 25 2012 07:56 AM
-----

Topics I've Started

Direct3D 9 - NVidia works, ATI fails

19 September 2012 - 07:33 AM

Hi everyone,

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 Posted Image

Thanks in advance Posted Image

@xi@g@me.

(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)

PARTNERS