private StoreValue ( |
||
dst | ||
return | void |
public override void EmitBody(CodeGenContext ctx) { ctx.LoadValue (src); ctx.StoreValue (dest); }
public override void EmitBody(CodeGenContext ctx) { if (sampler.Kind != RegKind.SamplerState) throw new Exception ("bad tex input reg "+tex.Kind); if (tex.Kind != RegKind.Texture) throw new Exception ("bad tex coord reg"); ctx.SampleTexture (sampler.Number, tex.Number); ctx.StoreValue (dest); }
public override void EmitBody(CodeGenContext ctx) { ctx.LoadValue (src1); ctx.LoadValue (src2); ctx.EmitBinary (op); ctx.StoreValue (dest); }