Home
last modified time | relevance | path

Searched refs:shiftedMask (Results 1 – 7 of 7) sorted by relevance

/dports/emulators/ppsspp-qt5/ppsspp-1.12.3/GPU/Common/
H A DDepalettizeShaderCommon.cpp109 int shiftedMask = mask << shift; in GenerateDepalShader300() local
112 …if (shiftedMask & 0xFF) WRITE(p, " int r = int(color.r * 255.99);\n"); else WRITE(p, " int r = 0… in GenerateDepalShader300()
119 …if (shiftedMask & 0xF) WRITE(p, " int r = int(color.r * 15.99);\n"); else WRITE(p, " int r = 0;\… in GenerateDepalShader300()
120 …if (shiftedMask & 0xF0) WRITE(p, " int g = int(color.g * 15.99);\n"); else WRITE(p, " int g = 0;… in GenerateDepalShader300()
121 …if (shiftedMask & 0xF00) WRITE(p, " int b = int(color.b * 15.99);\n"); else WRITE(p, " int b = 0… in GenerateDepalShader300()
122 …if (shiftedMask & 0xF000) WRITE(p, " int a = int(color.a * 15.99);\n"); else WRITE(p, " int a = … in GenerateDepalShader300()
126 …if (shiftedMask & 0x1F) WRITE(p, " int r = int(color.r * 31.99);\n"); else WRITE(p, " int r = 0;… in GenerateDepalShader300()
127 …if (shiftedMask & 0x7E0) WRITE(p, " int g = int(color.g * 63.99);\n"); else WRITE(p, " int g = 0… in GenerateDepalShader300()
132 …if (shiftedMask & 0x1F) WRITE(p, " int r = int(color.r * 31.99);\n"); else WRITE(p, " int r = 0;… in GenerateDepalShader300()
133 …if (shiftedMask & 0x3E0) WRITE(p, " int g = int(color.g * 31.99);\n"); else WRITE(p, " int g = 0… in GenerateDepalShader300()
[all …]
/dports/emulators/ppsspp/ppsspp-1.12.3/GPU/Common/
H A DDepalettizeShaderCommon.cpp109 int shiftedMask = mask << shift; in GenerateDepalShader300() local
112 …if (shiftedMask & 0xFF) WRITE(p, " int r = int(color.r * 255.99);\n"); else WRITE(p, " int r = 0… in GenerateDepalShader300()
119 …if (shiftedMask & 0xF) WRITE(p, " int r = int(color.r * 15.99);\n"); else WRITE(p, " int r = 0;\… in GenerateDepalShader300()
120 …if (shiftedMask & 0xF0) WRITE(p, " int g = int(color.g * 15.99);\n"); else WRITE(p, " int g = 0;… in GenerateDepalShader300()
121 …if (shiftedMask & 0xF00) WRITE(p, " int b = int(color.b * 15.99);\n"); else WRITE(p, " int b = 0… in GenerateDepalShader300()
122 …if (shiftedMask & 0xF000) WRITE(p, " int a = int(color.a * 15.99);\n"); else WRITE(p, " int a = … in GenerateDepalShader300()
126 …if (shiftedMask & 0x1F) WRITE(p, " int r = int(color.r * 31.99);\n"); else WRITE(p, " int r = 0;… in GenerateDepalShader300()
127 …if (shiftedMask & 0x7E0) WRITE(p, " int g = int(color.g * 63.99);\n"); else WRITE(p, " int g = 0… in GenerateDepalShader300()
132 …if (shiftedMask & 0x1F) WRITE(p, " int r = int(color.r * 31.99);\n"); else WRITE(p, " int r = 0;… in GenerateDepalShader300()
133 …if (shiftedMask & 0x3E0) WRITE(p, " int g = int(color.g * 31.99);\n"); else WRITE(p, " int g = 0… in GenerateDepalShader300()
[all …]
/dports/emulators/libretro-ppsspp/ppsspp-1.12.3/GPU/Common/
H A DDepalettizeShaderCommon.cpp109 int shiftedMask = mask << shift; in GenerateDepalShader300() local
112 …if (shiftedMask & 0xFF) WRITE(p, " int r = int(color.r * 255.99);\n"); else WRITE(p, " int r = 0… in GenerateDepalShader300()
119 …if (shiftedMask & 0xF) WRITE(p, " int r = int(color.r * 15.99);\n"); else WRITE(p, " int r = 0;\… in GenerateDepalShader300()
120 …if (shiftedMask & 0xF0) WRITE(p, " int g = int(color.g * 15.99);\n"); else WRITE(p, " int g = 0;… in GenerateDepalShader300()
121 …if (shiftedMask & 0xF00) WRITE(p, " int b = int(color.b * 15.99);\n"); else WRITE(p, " int b = 0… in GenerateDepalShader300()
122 …if (shiftedMask & 0xF000) WRITE(p, " int a = int(color.a * 15.99);\n"); else WRITE(p, " int a = … in GenerateDepalShader300()
126 …if (shiftedMask & 0x1F) WRITE(p, " int r = int(color.r * 31.99);\n"); else WRITE(p, " int r = 0;… in GenerateDepalShader300()
127 …if (shiftedMask & 0x7E0) WRITE(p, " int g = int(color.g * 63.99);\n"); else WRITE(p, " int g = 0… in GenerateDepalShader300()
132 …if (shiftedMask & 0x1F) WRITE(p, " int r = int(color.r * 31.99);\n"); else WRITE(p, " int r = 0;… in GenerateDepalShader300()
133 …if (shiftedMask & 0x3E0) WRITE(p, " int g = int(color.g * 31.99);\n"); else WRITE(p, " int g = 0… in GenerateDepalShader300()
[all …]
/dports/lang/go-devel/go-dragonfly-amd64-bootstrap/src/cmd/compile/internal/ssa/
H A Drewrite.go1110 shiftedMask := int64(uint64(mask) >> uint64(rshift))
1111 return shiftedMask != 0 && isPowerOfTwo(shiftedMask+1) && nto(shiftedMask)+lsb < 64
1116 shiftedMask := int64(uint64(mask) >> uint64(rshift))
1117 if shiftedMask == 0 {
1120 return nto(shiftedMask)
/dports/lang/go-devel/go-becaeea1199b875bc24800fa88f2f4fea119bf78/src/cmd/compile/internal/ssa/
H A Drewrite.go1606 shiftedMask := int64(uint64(mask) >> uint64(rshift))
1607 return shiftedMask != 0 && isPowerOfTwo64(shiftedMask+1) && nto(shiftedMask)+lsb < 64
1612 shiftedMask := int64(uint64(mask) >> uint64(rshift))
1613 if shiftedMask == 0 {
1616 return nto(shiftedMask)
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/Common/src/System/Net/WebSockets/
H A DManagedWebSocket.cs1210 int shiftedMask = (int)(((uint)mask >> maskShift) | ((uint)mask << (32 - maskShift))); in ApplyMask()
1218 Vector<byte> maskVector = Vector.AsVectorByte(new Vector<int>(shiftedMask)); in ApplyMask()
1245 *((int*)p) ^= shiftedMask; in ApplyMask()
/dports/devel/intel-graphics-compiler/intel-graphics-compiler-igc-1.0.9636/visa/iga/GEDLibrary/GED_external/Source/ged/xcoder/
H A Dged_ins.cpp1481 uint32_t shiftedMask = maxSourceValue; in CollectFragmentValue() local
1488 if (((val & shiftedMask) != shiftedRep)) return false; in CollectFragmentValue()
1490 shiftedMask <<= fromSize; in CollectFragmentValue()