Jump to content
  • Advertisement
Sign in to follow this  
neeker

Vertex Shader Version 0000?

This topic is 2128 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi,

 

I tested the project I'm working on with an Intel 950 chip and found out the shaders were not working.  When checking the devcaps, I found that VertexShaderModel is reporting 0x0000 for its version (PixelShaderModel is 0x200, which is what I expect).  From everything I've read about the 950 chip, it should support vs_2_0 just fine?  At the very least, it should support *some* type of vertex shader.  Has anyone come across something like this?

 

EDIT:  It seems like this is a common problem with 945 mobile chips.  So, the question becomes how do you use a pixel shader without a vertex shader (if possible, which it seems would be since the pixel shader is 2.0)?

Edited by neeker

Share this post


Link to post
Share on other sites
Advertisement

You should be able to create your d3d9 device with software vertex processing. Use D3DCREATE_SOFTWARE_VERTEXPROCESSING flag for it.

 

If I remember correctly, you'll need to specify software vertex processing also for vertex/index buffers.

 

Cheers!

Share this post


Link to post
Share on other sites

old intel IGPs use a software driver implementation for vertex shaders... So yes, probably your graphics card doesn't support hardware vertex shaders.

Share this post


Link to post
Share on other sites

...and the caps given back by any of the D3D functions will be what is supported in hardware.  Since the Intel doesn't support any of the per-vertex pipeline in hardware, it's valid to report back "0", or "not supported", or whatever (this is true about other per-vertex caps too, not just the VS version, so you'll also get odd results if you query e.g. stream offset, max vertex index, etc).  But you know - because you selected D3DCREATE_SOFTWARE_VERTEXPROCESSING - that the per-vertex pipeline is going to be fully emulated in software by the D3D runtime, so you don't need to worry about that.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!