Manual Binding of SamplerStates and Resources
I'm trying to use pure HLSL without using the effect framework. Since in DX10, a sampler slot is not binded to the same texture slot, I don't know how to manually bind a sampler state and a resource to a peculiar slot.
I suppose the syntax should be something like:
Texture2D MyTexture : register( ? );
// ? = t0 to bind to resource slot 0 ?
SamplerState MySampler : register( ? );
// ? = s0 to bind to sampler state slot 0 ?
What is the correct syntax?
Thanks.

