kingiii / softart

Automatically exported from code.google.com/p/softart
Other
0 stars 0 forks source link

Port old styled function/operator register to new style. #183

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Description:
  Old style is based on combinator.

dfunction_combinator(NULL).dname( op_name )
    .dreturntype().dnode( it_type->second ).end()
    .dparam().dtype().dnode( it_type->second ).end().end()
    .dparam().dtype().dnode( it_type->second ).end().end()
.end( tmpft );

if ( tmpft ){ visit_child( child_ctxt, child_ctxt_init, tmpft ); }

  Now we try to replace them with new style.

register_intrinsic( child_ctxt_init, "tex2Dlod", true, true )
    % sampler_ty % fvec_ts[4]
>> fvec_ts[4];

Original issue reported on code.google.com by wuye9036 on 4 Apr 2012 at 3:18

GoogleCodeExporter commented 8 years ago
This issue was updated by revision 3e215032e54a.

SASL:
  Update code line statistics.
  Porting operator registration to new style.

Original comment by wuye9036 on 4 Apr 2012 at 5:37

GoogleCodeExporter commented 8 years ago

Original comment by wuye9036 on 4 Apr 2012 at 5:38