C language function:D3DXCreateEffect sample codes

Search sample code in the internet.It is the result.

TITLE : directx - How to not-unroll loops in Shader Model 3 HLSL - Game Development Stack Exchange
@Notabene, oh well, what about using D3DXSHADER_PREFER_FLOW_CONTROL in your D3DXCreateEffect() call, maybe that will stop unrolling? ? EnoughTea Sep 2 '11 at 11:35.......

search Google