mikegi
31-Oct-2007, 13:11
Is there any downside in D3D9 with multiple, unrelated techniques in a single .FX file? I have all the shaders in my app in a single .fx file and simply pile all the constants and different texture/sampler stuff at the top. When I look at the FXC output for the shaders, it looks like the each technique is treated as if it was in its own .fx file and had just the constants and textures/samplers it uses defined.
Mike
Mike