Jump to content

View more

Image of the Day

#ld38 #screenshotsaturday Mimosa Fizz action gif #2 https://t.co/TUzdppvfUL
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

CgFX and D3D layout

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
No replies to this topic

#1 Nanook   Members   

534
Like
0Likes
Like

Posted 17 March 2012 - 11:23 AM

I'm setting up my engine to use Cg shaders and using the CgFX format.. would it make sense to bind different vertex buffers for each of the cg passes of a technique?

The reason I'm asking is that there is the cgD3D11GetIASignatureByPass functions wich gets a ID3DBlob with the signature from a pass.. But as I have a mesh stored in a vertex buffer for each renderable I guess I should have the same signature for each of the passes?




Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.