Home
last modified time | relevance | path

Searched refs:alphaTestFuncs (Results 1 – 12 of 12) sorted by relevance

/dports/emulators/ppsspp-qt5/ppsspp-1.12.3/GPU/Common/
H A DShaderId.cpp162 static const char *alphaTestFuncs[] = { "NEVER", "ALWAYS", "==", "!=", "<", "<=", ">", ">=" }; variable
225 …if (id.Bit(FS_BIT_ALPHA_AGAINST_ZERO)) desc << "AlphaTest0 " << alphaTestFuncs[id.Bits(FS_BIT_ALPH… in FragmentShaderDesc()
226 …else if (id.Bit(FS_BIT_ALPHA_TEST)) desc << "AlphaTest " << alphaTestFuncs[id.Bits(FS_BIT_ALPHA_TE… in FragmentShaderDesc()
227 …if (id.Bit(FS_BIT_COLOR_AGAINST_ZERO)) desc << "ColorTest0 " << alphaTestFuncs[id.Bits(FS_BIT_COLO… in FragmentShaderDesc()
228 …else if (id.Bit(FS_BIT_COLOR_TEST)) desc << "ColorTest " << alphaTestFuncs[id.Bits(FS_BIT_COLOR_TE… in FragmentShaderDesc()
H A DFragmentShaderGenerator.cpp760 const char *alphaTestFuncs[] = { "#", "#", " != ", " == ", " >= ", " > ", " <= ", " < " }; in GenerateFragmentShader() local
761 if (alphaTestFuncs[alphaTestFunc][0] != '#') { in GenerateFragmentShader()
763 …eTo255i(v.a) & u_alphacolormask.a) %s int(u_alphacolorref.a)) %s\n", alphaTestFuncs[alphaTestFunc]… in GenerateFragmentShader()
767 …WRITE(p, " if (roundTo255thf(v.a) %s u_alphacolorref.a) %s\n", alphaTestFuncs[alphaTestFunc], dis… in GenerateFragmentShader()
770 …WRITE(p, " if (roundAndScaleTo255f(v.a) %s u_alphacolorref.a) %s\n", alphaTestFuncs[alphaTestFunc… in GenerateFragmentShader()
/dports/emulators/ppsspp/ppsspp-1.12.3/GPU/Common/
H A DShaderId.cpp162 static const char *alphaTestFuncs[] = { "NEVER", "ALWAYS", "==", "!=", "<", "<=", ">", ">=" }; variable
225 …if (id.Bit(FS_BIT_ALPHA_AGAINST_ZERO)) desc << "AlphaTest0 " << alphaTestFuncs[id.Bits(FS_BIT_ALPH… in FragmentShaderDesc()
226 …else if (id.Bit(FS_BIT_ALPHA_TEST)) desc << "AlphaTest " << alphaTestFuncs[id.Bits(FS_BIT_ALPHA_TE… in FragmentShaderDesc()
227 …if (id.Bit(FS_BIT_COLOR_AGAINST_ZERO)) desc << "ColorTest0 " << alphaTestFuncs[id.Bits(FS_BIT_COLO… in FragmentShaderDesc()
228 …else if (id.Bit(FS_BIT_COLOR_TEST)) desc << "ColorTest " << alphaTestFuncs[id.Bits(FS_BIT_COLOR_TE… in FragmentShaderDesc()
H A DFragmentShaderGenerator.cpp760 const char *alphaTestFuncs[] = { "#", "#", " != ", " == ", " >= ", " > ", " <= ", " < " }; in GenerateFragmentShader() local
761 if (alphaTestFuncs[alphaTestFunc][0] != '#') { in GenerateFragmentShader()
763 …eTo255i(v.a) & u_alphacolormask.a) %s int(u_alphacolorref.a)) %s\n", alphaTestFuncs[alphaTestFunc]… in GenerateFragmentShader()
767 …WRITE(p, " if (roundTo255thf(v.a) %s u_alphacolorref.a) %s\n", alphaTestFuncs[alphaTestFunc], dis… in GenerateFragmentShader()
770 …WRITE(p, " if (roundAndScaleTo255f(v.a) %s u_alphacolorref.a) %s\n", alphaTestFuncs[alphaTestFunc… in GenerateFragmentShader()
/dports/emulators/libretro-ppsspp/ppsspp-1.12.3/GPU/Common/
H A DShaderId.cpp162 static const char *alphaTestFuncs[] = { "NEVER", "ALWAYS", "==", "!=", "<", "<=", ">", ">=" }; variable
225 …if (id.Bit(FS_BIT_ALPHA_AGAINST_ZERO)) desc << "AlphaTest0 " << alphaTestFuncs[id.Bits(FS_BIT_ALPH… in FragmentShaderDesc()
226 …else if (id.Bit(FS_BIT_ALPHA_TEST)) desc << "AlphaTest " << alphaTestFuncs[id.Bits(FS_BIT_ALPHA_TE… in FragmentShaderDesc()
227 …if (id.Bit(FS_BIT_COLOR_AGAINST_ZERO)) desc << "ColorTest0 " << alphaTestFuncs[id.Bits(FS_BIT_COLO… in FragmentShaderDesc()
228 …else if (id.Bit(FS_BIT_COLOR_TEST)) desc << "ColorTest " << alphaTestFuncs[id.Bits(FS_BIT_COLOR_TE… in FragmentShaderDesc()
H A DFragmentShaderGenerator.cpp760 const char *alphaTestFuncs[] = { "#", "#", " != ", " == ", " >= ", " > ", " <= ", " < " }; in GenerateFragmentShader() local
761 if (alphaTestFuncs[alphaTestFunc][0] != '#') { in GenerateFragmentShader()
763 …eTo255i(v.a) & u_alphacolormask.a) %s int(u_alphacolorref.a)) %s\n", alphaTestFuncs[alphaTestFunc]… in GenerateFragmentShader()
767 …WRITE(p, " if (roundTo255thf(v.a) %s u_alphacolorref.a) %s\n", alphaTestFuncs[alphaTestFunc], dis… in GenerateFragmentShader()
770 …WRITE(p, " if (roundAndScaleTo255f(v.a) %s u_alphacolorref.a) %s\n", alphaTestFuncs[alphaTestFunc… in GenerateFragmentShader()
/dports/emulators/ppsspp-qt5/ppsspp-1.12.3/Windows/GEDebugger/
H A DTabState.cpp426 static const char *alphaTestFuncs[] = { "NEVER", "ALWAYS", "==", "!=", "<", "<=", ">", ">=" }; in FormatStateRow() local
430 if (func < (u8)ARRAY_SIZE(alphaTestFuncs)) { in FormatStateRow()
432 …swprintf(dest, 255, L"pass if (a & %02x) %S (%02x & %02x)", mask, alphaTestFuncs[func], ref, mask); in FormatStateRow()
435 …swprintf(dest, 255, L"pass if (%02x & %02x) %S (a & %02x)", ref, mask, alphaTestFuncs[func], mask); in FormatStateRow()
/dports/emulators/ppsspp/ppsspp-1.12.3/Windows/GEDebugger/
H A DTabState.cpp426 static const char *alphaTestFuncs[] = { "NEVER", "ALWAYS", "==", "!=", "<", "<=", ">", ">=" }; in FormatStateRow() local
430 if (func < (u8)ARRAY_SIZE(alphaTestFuncs)) { in FormatStateRow()
432 …swprintf(dest, 255, L"pass if (a & %02x) %S (%02x & %02x)", mask, alphaTestFuncs[func], ref, mask); in FormatStateRow()
435 …swprintf(dest, 255, L"pass if (%02x & %02x) %S (a & %02x)", ref, mask, alphaTestFuncs[func], mask); in FormatStateRow()
/dports/emulators/libretro-ppsspp/ppsspp-1.12.3/Windows/GEDebugger/
H A DTabState.cpp426 static const char *alphaTestFuncs[] = { "NEVER", "ALWAYS", "==", "!=", "<", "<=", ">", ">=" }; in FormatStateRow() local
430 if (func < (u8)ARRAY_SIZE(alphaTestFuncs)) { in FormatStateRow()
432 …swprintf(dest, 255, L"pass if (a & %02x) %S (%02x & %02x)", mask, alphaTestFuncs[func], ref, mask); in FormatStateRow()
435 …swprintf(dest, 255, L"pass if (%02x & %02x) %S (a & %02x)", ref, mask, alphaTestFuncs[func], mask); in FormatStateRow()
/dports/emulators/ppsspp-qt5/ppsspp-1.12.3/GPU/
H A DGeDisasm.cpp834 …const char *alphaTestFuncs[] = { " NEVER ", " ALWAYS ", " == ", " != ", " < ", " <= ", " > ", " >=… in GeDisassembleOp() local
835 … test settings: %06x ((c & %02x)%s%02x)", data, (data >> 16) & 0xFF, alphaTestFuncs[data & 7], (da… in GeDisassembleOp()
/dports/emulators/ppsspp/ppsspp-1.12.3/GPU/
H A DGeDisasm.cpp834 …const char *alphaTestFuncs[] = { " NEVER ", " ALWAYS ", " == ", " != ", " < ", " <= ", " > ", " >=… in GeDisassembleOp() local
835 … test settings: %06x ((c & %02x)%s%02x)", data, (data >> 16) & 0xFF, alphaTestFuncs[data & 7], (da… in GeDisassembleOp()
/dports/emulators/libretro-ppsspp/ppsspp-1.12.3/GPU/
H A DGeDisasm.cpp834 …const char *alphaTestFuncs[] = { " NEVER ", " ALWAYS ", " == ", " != ", " < ", " <= ", " > ", " >=… in GeDisassembleOp() local
835 … test settings: %06x ((c & %02x)%s%02x)", data, (data >> 16) & 0xFF, alphaTestFuncs[data & 7], (da… in GeDisassembleOp()