I'm working on raycaster in HLSL, unfortunately it have to be in DX9. But it cannot be compiled
I did similar raycaster in DX11 and i know that there is always problem with FXC compiler that it tries to unroll loops, this problem can be solved in DX11 by [loop] command before loop, which tells to compile to not unroll loops. Can i do something similar in DX9? I'm using february 2010 compiler.
My loop is not doing any divergent flow control stuff. And i would like to have it to be able to do early out.