nvidia cg runtime question
one more question, it seems its impossible to use
SetVertexShaderConstantB with cg or? if low level d3d fucntions are to be used then only SetVertexShaderConstantF, or am i wrong again?
another issue i am having is using cgD3D9TypeToSize on an int3, this returns 0,
what should i do in this case? if i ignore this and assume that int3 has the size of 3 floats it all works ok, but this is not really nice! what shoudl i do when cgD3D9TypeToSize returns 0 to figure out the size of the type? i need the size in order to use it in SetVertexShaderConstantF.
[Edited by - PinkFish on September 25, 2006 3:16:50 PM]
SetVertexShaderConstantB with cg or? if low level d3d fucntions are to be used then only SetVertexShaderConstantF, or am i wrong again?
another issue i am having is using cgD3D9TypeToSize on an int3, this returns 0,
what should i do in this case? if i ignore this and assume that int3 has the size of 3 floats it all works ok, but this is not really nice! what shoudl i do when cgD3D9TypeToSize returns 0 to figure out the size of the type? i need the size in order to use it in SetVertexShaderConstantF.
[Edited by - PinkFish on September 25, 2006 3:16:50 PM]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement