Create VertexShader Failed.

Started by
6 comments, last by kimryo 21 years, 1 month ago
The error message is: Direct3D9: Shader Validator: X263: (Global Error) Version Token: Shader version vs_1_1 is not supported by device. How to set my device to make it support vs1.1? thanks in advance! We create world.
God create the world,we create another one.-Reference
Advertisement
You need a Graphics card that supports Pixel- and Vertex shaders. For PS1.1 you would need at least a GeForce 3 card.


Regards,
Deficte
Regards,
Deficte
use the reference rasterizer .
Thank you all :)
But the VertexShader sample project from DX9 SDK can run perfectly...

We create world.
God create the world,we create another one.-Reference
When you create your device, specify D3DCREATE_SOFTWARE_VERTEXPROCESSING.

xyzzy
I know you mean software sim.Thanks.

But how could my program determine whether the hardware support vs or ps and run-time?

Thanks.

We create world.
God create the world,we create another one.-Reference
See IDirect3D9::GetDeviceCaps.

D3DCAPS9.VertexShaderVersion and D3DCAPS9.PixelShaderVersion tell you the maximum shader versions the hardware supports.

xyzzy
Thanks.

We create world.
God create the world,we create another one.-Reference

This topic is closed to new replies.

Advertisement