StoreValue() private method

private StoreValue ( DestRegister dst ) : void
dst DestRegister
return void
Example #1
0
 public override void EmitBody(CodeGenContext ctx)
 {
     ctx.LoadValue (src);
     ctx.StoreValue (dest);
 }
Example #2
0
        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);
        }
Example #3
0
 public override void EmitBody(CodeGenContext ctx)
 {
     ctx.LoadValue (src1);
     ctx.LoadValue (src2);
     ctx.EmitBinary (op);
     ctx.StoreValue (dest);
 }