Lines Matching refs:command

517     u32* command = this->GetCommandCache();  in SetSampler()  local
520 NW_NULL_ASSERT(command); in SetSampler()
528 command[2] = resStandardTextureSampler.GetBorderColor().ToPicaU32(); in SetSampler()
698 u32* command = mapper.GetCommandCache(); in SetupTextureMapperCommand() local
702 command[0] &= ~FORMAT_MASK; // format in SetupTextureMapperCommand()
703 command[3] &= ~0x0FF00000; // コマンドヘッダ in SetupTextureMapperCommand()
704 command[4] &= ~(HEIGHT_MASK | WIDTH_MASK); // width, height in SetupTextureMapperCommand()
705 command[5] &= ~(FORMAT_ETC_MASK); // etc_format in SetupTextureMapperCommand()
706 command[6] &= ~(MIPMAP_SIZE_MASK); // mipmap in SetupTextureMapperCommand()
707 command[7] &= ~ADDRESS_MASK; // address in SetupTextureMapperCommand()
715 command[0] |= format & FORMAT_MASK; in SetupTextureMapperCommand()
719 command[3] |= 4 << 20; in SetupTextureMapperCommand()
720 command[1] |= 0x000F0000; // glの吐くコードと同じにしてみる。 in SetupTextureMapperCommand()
722 command[4] |= (texture.GetHeight() & 0x7FF) << 0; in SetupTextureMapperCommand()
723 command[4] |= (texture.GetWidth() & 0x7FF) << WIDTH_SHIFT; in SetupTextureMapperCommand()
727 command[5] |= 2 << FORMAT_ETC_SHIFT; in SetupTextureMapperCommand()
730 command[6] |= ((texture.GetMipmapSize() - 1) & 0xF) << MIPMAP_SIZE_SHIFT; in SetupTextureMapperCommand()
732 command[7] |= (nngxGetPhysicalAddr( addr ) >> 3) & ADDRESS_MASK; in SetupTextureMapperCommand()
784 u32* command = mapper.GetCommandCache(); in SetupTextureMapperCommand() local
792 command[0] &= ~FORMAT_MASK; in SetupTextureMapperCommand()
793 command[3] &= ~0x0FF00000; in SetupTextureMapperCommand()
794 command[4] &= ~(HEIGHT_MASK | WIDTH_MASK); // width, height in SetupTextureMapperCommand()
795 command[5] &= ~(FORMAT_ETC_MASK); // etc_format in SetupTextureMapperCommand()
796 command[6] &= ~(MIPMAP_SIZE_MASK); // mipmap in SetupTextureMapperCommand()
797 command[7] &= ~ADDRESS_MASK; // address in SetupTextureMapperCommand()
798 command[8] &= ~CUBE_ADDRESS_MASK; in SetupTextureMapperCommand()
799 command[9] &= ~CUBE_ADDRESS_MASK; in SetupTextureMapperCommand()
800 command[10] &= ~CUBE_ADDRESS_MASK; in SetupTextureMapperCommand()
801 command[11] &= ~CUBE_ADDRESS_MASK; in SetupTextureMapperCommand()
802 command[12] &= ~CUBE_ADDRESS_MASK; in SetupTextureMapperCommand()
804 command[0] |= format & 0xF; in SetupTextureMapperCommand()
806 command[3] |= 9 << 20; in SetupTextureMapperCommand()
808 command[4] |= (texture.GetHeight() & 0x7FF) << 0; in SetupTextureMapperCommand()
809 command[4] |= (texture.GetWidth() & 0x7FF) << WIDTH_SHIFT; in SetupTextureMapperCommand()
813 command[5] |= 2 << FORMAT_ETC_SHIFT; in SetupTextureMapperCommand()
818 command[6] |= ((texture.GetMipmapSize() - 1) & 0xF) << MIPMAP_SIZE_SHIFT; in SetupTextureMapperCommand()
827 command[7] |= (nngxGetPhysicalAddr( addr ) >> 3) & ADDRESS_MASK; in SetupTextureMapperCommand()
831 command[7 + face] |= (nngxGetPhysicalAddr( addr ) >> 3) & CUBE_ADDRESS_MASK; in SetupTextureMapperCommand()
845 u32* command = mapper.GetCommandCache(); in SetupTextureMapperCommand() local
849 command[0] &= ~FORMAT_MASK; // format in SetupTextureMapperCommand()
850 command[3] &= ~0x0FF00000; // コマンドヘッダ in SetupTextureMapperCommand()
851 command[4] &= ~(HEIGHT_MASK | WIDTH_MASK); // width, height in SetupTextureMapperCommand()
852 command[5] &= ~(FORMAT_ETC_MASK | SAMPLER_TYPE_MASK); // etc_format in SetupTextureMapperCommand()
853 command[6] &= ~(MIPMAP_SIZE_MASK); // mipmap in SetupTextureMapperCommand()
854 command[7] &= ~ADDRESS_MASK; // address in SetupTextureMapperCommand()
855 command[13] = 0x0; // shadow in SetupTextureMapperCommand()
863 command[0] |= format & FORMAT_MASK; in SetupTextureMapperCommand()
866 command[3] |= 10 << 20; in SetupTextureMapperCommand()
867 command[1] |= 0x000F0000; // glの吐くコードと同じにしてみる。 in SetupTextureMapperCommand()
869 command[4] |= (texture.GetHeight() & 0x7FF) << 0; in SetupTextureMapperCommand()
870 command[4] |= (texture.GetWidth() & 0x7FF) << WIDTH_SHIFT; in SetupTextureMapperCommand()
872 command[5] |= SAMPLER_TYPE_SHADOW_2D << SAMPLER_TYPE_SHIFT; in SetupTextureMapperCommand()
874 command[6] |= ((texture.GetMipmapSize() - 1) & 0xF) << MIPMAP_SIZE_SHIFT; in SetupTextureMapperCommand()
876 command[7] |= (nngxGetPhysicalAddr( addr ) >> 3) & ADDRESS_MASK; in SetupTextureMapperCommand()
878 command[13] |= ((texture.IsPerspectiveShadow() ? 0 : 1) & 0x1) << 0; in SetupTextureMapperCommand()
879command[13] |= ((ut::FixedU24::Float32ToFixedU24(texture.GetShadowZBias()) >> 1) & 0x7FFFFF) << 1; in SetupTextureMapperCommand()
882 command[13] |= ((scaleU32 - 127) & 0xFF) << 24; in SetupTextureMapperCommand()