Skip to main content
gamedev.net
🔒 Locked

D3DCREATE_HARDWARE_VERTEXPROCESSING

Started by scippie Mar 4, 2008 at 9:50 AM 0 replies 3k views
Original Post
scippie
scippie
The other possibilities are D3DCREATE_MIXED_VERTEXPROCESSING and D3DCREATE_SOFTWARE_VERTEXPROCESSING. If I am using vertex 3.0 & pixel 3.0 shaders, does this mean the D3DCREATE_HARDWARE_VERTEXPROCESSING is obligated? Or is one with mixed or even software processing still able to execute vertex and pixel shaders? I could think yes for vertex shaders, but no for pixel shaders. For clarity, I will not support a REF device, only HAL device. D.
Evil Steve
Evil Steve
Quote:
Original post by scippie
The other possibilities are D3DCREATE_MIXED_VERTEXPROCESSING and D3DCREATE_SOFTWARE_VERTEXPROCESSING.

If I am using vertex 3.0 & pixel 3.0 shaders, does this mean the D3DCREATE_HARDWARE_VERTEXPROCESSING is obligated?
Nope, the vertex processing could still be done on the CPU. That's useful if you really need VS 3.0 but the hardware doesn't support it.

Quote:
Original post by scippie
Or is one with mixed or even software processing still able to execute vertex and pixel shaders? I could think yes for vertex shaders, but no for pixel shaders.
Vertex shaders can be processed on the CPU (Although it's obviously slower than doing it on the GPU), pixel shaders can't (Since that would basically be a software rasterizer).

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.