}
+#if 0
/**
* Generate IR tree for an if/then/else conditional using BRAnch instructions.
*/
return tree;
}
+#endif
/**
case SLANG_OPER_IDENTIFIER:
return _slang_gen_variable(A, oper);
case SLANG_OPER_IF:
- if (A->program->Target == GL_FRAGMENT_PROGRAM_ARB) {
- return _slang_gen_hl_if(A, oper);
- }
- else {
- /* XXX update tnl executor */
- return _slang_gen_if(A, oper);
- }
+ return _slang_gen_hl_if(A, oper);
case SLANG_OPER_FIELD:
return _slang_gen_field(A, oper);
case SLANG_OPER_SUBSCRIPT: