   D3DERR_INVALIDCALL on SetMatrix
  In this call:error = (CSGD_Direct3D::GetInstance()->GetEffect()->SetMatrix( "world", &combined ));error ends up being D3DERR_INVALIDCALL.The shader has a float4x4 called "world" and combined is a valid D3DXMATRIX.When does this error get returned?  How can I fix it?Thanks,Louis   
  What do the Debug Runtimes say the error is?   ;  ...turns out it was an unrelated issue with source control.  The variable didn't exist in the shader...   