Esempio n. 1
0
        public static void St_A(ShaderIrBlock block, long opCode, int position)
        {
            ShaderIrNode[] opers = opCode.Abuf20();

            int index = 0;

            foreach (ShaderIrNode operA in opers)
            {
                ShaderIrOperGpr operD = opCode.Gpr0();

                operD.Index += index++;

                block.AddNode(opCode.PredNode(new ShaderIrAsg(operA, operD)));
            }
        }
Esempio n. 2
0
        public static void St_A(ShaderIrBlock Block, long OpCode, int Position)
        {
            ShaderIrNode[] Opers = OpCode.Abuf20();

            int Index = 0;

            foreach (ShaderIrNode OperA in Opers)
            {
                ShaderIrOperGpr OperD = OpCode.Gpr0();

                OperD.Index += Index++;

                Block.AddNode(OpCode.PredNode(new ShaderIrAsg(OperA, OperD)));
            }
        }